Chapters: 1: Introduction 2: Simple example 3: Invocation 4: Finer Control 5: X-Y Plots 6: Contour Plots 7: Image Plots 8: Examples 9: Gri Commands 10: Programming 11: Environment 12: Emacs Mode 13: History 14: Installation 15: Gri Bugs 16: Test Suite 17: Gri in Press 18: Acknowledgments 19: License Indices: Concepts Commands Variables | ### 13.1.1: Version 2.12 #### 13.1.1.1: Version 2.12.26 [2017 January 27 Martyrs' Day (India)] Bug fixes ... prevent some problems in debian build process #### 13.1.1.2: Version 2.12.25 [2015 July 24 Pioneer Day (Utah)] Bug fixes ... prevent some problems in debian build process #### 13.1.1.3: Version 2.12.24 [2013 August 9 International Day of the World's Indigenous People] Bug fixes ... obey commandline argument naming postscript file (debian bug 719033) #### 13.1.1.4: Version 2.12.23 [2011 July 6 Malawai Independence Day] Bug fixes https://sourceforge.net/projects/gri/forums/forum/16975/topic/4596628/index/page/1 ... ``pgm`' images grayscale was wrong #### 13.1.1.5: Version 2.12.22 Bug fixes Fix github bug http://github.com/dankelley/gri/issues#issue/5 ... ``draw image`' failed on some black/white images #### 13.1.1.6: Version 2.12.21 [2010 June 8 World Ocean Day] Bug Fixes Fix github bug http://github.com/dankelley/gri/issues#issue/1 ... ``convert grid to image directly`' misplaced image ``patches'' by one patch width and one patch height #### 13.1.1.7: Version 2.12.20 [2010 April 9 Vimy Ridge Day] New Features add ``labelling`' option to ``set x axis`' and ``set y axis`'. add ``directly`' option to ``convert grid to image`'. Bug Fixes Fix SourceForge bug #2913919 ... SVG: all symbols are "." Fix SourceForge bug #2913893 ... svg segfault on draw label Fix SourceForge bug #2913841 ... svg draw box filled not filled Fix SourceForge bug #2913840 ... svg images are upside-down Fix SourceForge bug #2913838 ... image postscript clip problem #### 13.1.1.8: Version 2.12.19 [2009 July 17 World Day for International Justice] New Features Fix SourceForge ``bug'' #2977816 ... Fedora packaging requires more precise license declarations. Bug Fixes Fix SourceForge bug #3266884 ... error in docs for strlen. #### 13.1.1.9: Version 2.12.18 [2008 Sep 8 International Literacy Day] Bug Fixes Improve security of temporary-file handling. Fix SourceForge bug #1985862 ... SVG output had axis linewidth equal to curve line width. #### 13.1.1.10: Version 2.12.17 [2008 May 29 Oak Apple Day (England)] New Features Add GNU readline support so that interactive mode will have history, command editing, etc. Bug Fixes Fix SourceForge bug #1913577 ... superscripts did not end correctly, if preceeded by an inline ``{}`' block. Fix SourceForge bug #1761562 ... y axis name printed upside down, for log axes in which user specified a high values at the bottom end of the axis #### 13.1.1.11: Version 2.12.16 [2007 Jul 20 anniversary of the first moon landing] Bug Fixes Fix Debian bug #130802 ... postscript problem in landscape mode, refreshed in gv viewer Fix Debian bug #434010 ... ``set page landscape`' requires ``set page size`' first, but it should really default to something reasonable instead. #### 13.1.1.12: Version 2.12.15 [2007 Apr 16 celebration of birthday of Muhammad] Bug Fixes Fix SourceForge bug #1700978 ... html concept index mostly broken Fix SourceForge bug #1698924 ... box plots show missing data Fix Debian bug #417217 ... will not compile in GCC 4.3 Fix SourceForge bug #1698116 ... poorly-positioned name of RHS y-axis #### 13.1.1.13: Version 2.12.14 [2007 Jan 08: Coming-of-Age Day (Japan)] Bug Fixes Fix SourceForge bug #1630768 ... Fix to segfault in clipped images (a bug that may have developed after version 2.13.3) #### 13.1.1.14: Version 2.12.13 [2006 Nov 06: Constitution Day (Tajikistan)] Bug Fixes Fix SourceForge bug #1591475 ... Fix to compile in Solaris CC Fix SourceForge bug #1591062 ... Fix to compile in OpenBSD #### 13.1.1.15: Version 2.12.12 [2006 July 16: Yellow Pigs Day] Bug Fixes Fix SourceForge bug #1523033 ... Malloc error (freeing something already freed?) Fix SourceForge bug #1523032 ... ``create columns from function`' bug, if there is an existing directory called ``tmp`'. Fix SourceForge bug #1491105 ... ``set x axis labels`' had no affect for log axes (same for y) #### 13.1.1.16: Version 2.12.11 [2006 Mar 30: Hindu New Year] Bug Fixes Fix SourceForge bug #1449546 ... x axis limits not correctly inferred from ``set x grid`' (same for y). #### 13.1.1.17: Version 2.12.10 [2006 Jan 26: Australia Day] Bug Fixes Fix SourceForge bug #1408259 ... PostScript file contained private information. This was fixed by adding new commandline arguments ``-private`' and ``-no_private`', the former of which (the new default) means to not include the user's name, the invocation arguments, or the command-file contents (see Invoking Gri). Fix SourceForge bug #1285180 ... NaN was mishandled. (The bug may have arisen in version 2.12.7 or thereabouts.) Port to the FreeBSD operating system, with help from Christopher Illies and Roman Neuhauser. Fix SourceForge bug #1217273 ... missing some version numbers within docs Fix SourceForge bug #1196613 ... user-supplied x-axis labels can run offscale (fix for y-axis later...) Fix SourceForge bug #1198341 ... x-axis labels incorrectly rotated (sometimes) Fix SourceForge bug #1199280 ... warning about ``malloc`' for RPN assignments Fix SourceForge bug #1196115 ... ``gri_unpage`' and ``gri_merge`' mis-installed Fix SourceForge bug #1153209 ... Emacs mode incompatible with new version of ``gv`' PostScript viewer Fix SourceForge bug #1101172 ... ``gri -help`' incorrectly stated meaning of last argument(s) Fix SourceForge bug #835711 ... ``draw gri logo`' fails. Fix SourceForge bug #1098269 ... problem compiling on AMD64 machine. (Solution provided by Andreas Jochens, a Debian user.) Fix SourceForge bug #867515 ... problem with junk appearing in images. Fix SourceForge bug #875881 ... problem compiling with gcc 2.95.3 compiler. #### 13.1.1.18: Version 2.12.9 [2005 Jan 6: Feast of Epiphany] Bug Fixes Fix SourceForge bug #1094087 ... ``set path to`' incorrectly parsed colon-separated paths Fix SourceForge bug #1085788 ... ``image *=`', ``image /=`', ``image ^=`', and ``image _=`' all gave incorrect results Fix SourceForge bug #1084123 ... does not compile in fink Fix SourceForge bug #676767 ... on fink systems, ``help`' does not work #### 13.1.1.19: Version 2.12.8 [2004] Bug Fixes Fix SourceForge bug #1019141 ... ``draw arc`' ignores the present pen color Fix SourceForge bug #997741 ... PostScript broken on images with y-axis decreasing, and enclosed by PostScript clipping Fix SourceForge bug #978822 ... documentation wrong on ``set path to`' Fix SourceForge bug #932203 ... misplaced labels caused by ``set x axis labels`' Fix SourceForge bug #928277 ... ``draw polygon`' should take ``cm`' and ``pt`' units Fix SourceForge bug #930259 ... fix ``draw arc`''s drawing of an extra line (thanks for the fix, Wolfgang Voegeli) Fix SourceForge bug #923719 ... ``draw curve overlying`' ignored the effect of ``set dash`' Fix SourceForge bug #914125 ... offpage points in axes were reported as having been drawn by ``draw curve`'. Fix SourceForge bug #877613 ... ``help`' (and other commands using temporary files) does not work in OSX/Fink version. Fix SourceForge bug #874483 ... ``state save`' doesn't keep track of ``dash`' settings. Fix SourceForge bug #873245 ... inaccurate times are given in the warnings about slow operations on OSX platform (days are reported instead of seconds) Fix SourceForge bug #871477 ... the `missing value' feature should not be the default. The solution involved adding a new command ``set missing value none`', which is now the default. #### 13.1.1.20: Version 2.12.7 [2003 Sep 4] Bug Fixes Fix SourceForge bug #800022 AKA Debian bug #208589, ... did not build on some Debian platforms because it was based on an old version of ``automake`'. #### 13.1.1.21: Version 2.12.6 [2003 Sep 1: Labour Day] New Features Add ``age`' RPN function, for testing file ages (see age-rpn-operator). Bug Fixes Fix SourceForge bug #773850 ... bounding-box is increased by ``draw symbol`' even if (rectangular) postscript clipping is active. Fix SourceForge bug #760130 ... Solaris cannot compile with ``C-l`' in Makefile. Fix SourceForge bug #743134 ... bounding box not limited by ``set clip postscript`' Fix SourceForge bug #750561 ... during compilation, ``make`' rebuilds HTML docs even if up-to-date #### 13.1.1.22: Version 2.12.5 [2003 May 19: Victoria Day] New Features Apply a patch provided Kawamura Masao, relating to (a) errors in the documentation of file locations and (b) a programming error hidden behind an unset precompiler flag. Add hexadecimal colornames (see pen-color-hexadecimal). Bug Fixes Fix SourceForge bug #739761 ... ``draw time stamp`' named the command-file incorrectly Fix SourceForge bug #720607 ... the emacs mode looked for html documentation files in an incorrect location on linux/redhat systems #### 13.1.1.23: Version 2.12.4 [2003 Apr 06] Bug Fixes Fix SourceForge bug #696073 ... did not handle ``\$()`' syntax correctly. Fix SourceForge bug #715884 ... mixup on protected-quotes within double-quoted strings Fix Debian bug #183912 ... would not compile on m86k architecture. Fix SourceForge bug #711354 ... ``Creator:`' comment in PostScript file named the command-file incorrectly, if there were options on the gri invocation command. Since this naming of the command-file was not especially useful, and since nobody has complained of this bug but the author, the feature has simply been deleted. Just complain if you want it back! Fix SourceForge bug #706202 ... A hint about the page orientation was not given in the Postscript comments. The lack of this hint has no affect on printing, etc., only viewing in some viewers. #### 13.1.1.24: Version 2.12.3 [2003 Mar 1] Bug Fixes Fix SourceForge bug #685919 ... ``-output`' commandline argument failed on ``.eps`' file extension. #### 13.1.1.25: Version 2.12.2 [2003 Feb 7: Munro Day at Dalhousie University] Bug Fixes Fix SourceForge bug #675304 ... Segmentation fault can occur on ``read image pgm`' if an image already exists, e.g. created by ``convert grid to image`'. Fix SourceForge bug #647234 ... Source file ``draw.cc`' will not compile on MAC OS X 10.1.5 at optimization level 2, so drop the level to no optimization, as a temporary measure. Fix SourceForge bug #671022 ... ``flip image x|y`' did not flip images correctly, except in special circumstances. Fix SourceForge bug #669603 ... ``skip backward .n.`' erroneously skipped forward Fix SourceForge bug #667754 ... ``read image pgm`' segfaults on memory if an image has already been created by ``convert grid to image`' Fix SourceForge bug #664388 ... ``read image pgm`' fails if an image already exists Fix SourceForge bug #654129 ... ignoring ``~/.grirc`' file Fix SourceForge bug #654127 ... configure scripts are broken Fix SourceForge bug #649132 ... removed unused LDFLAGS phrase from Makefile Fix SourceForge bug #649134 ... tweak gcc optimization Fix SourceForge bug #649136 ... examples 8 and 9 broken Fix SourceForge bug #641406 ... RPN too aggressive on missing values #### 13.1.1.26: Version 2.12.1 [2002 Sep 25] Bug Fixes Fix SourceForge bug #613075 ... RPN operators ``sin`', ``cos`', and ``tan`' were limited in range (new bug in last release) #### 13.1.1.27: Version 2.12.0 [2002 Sep 15: Terry Fox Day, Canada.] New Features Add ``sed`' RPN operator, to work on strings see Binary Operators. Add ``skewness`' and ``kurtosis`' RPN operators, to work on columns see Manipulation of Columns etc. Removed Features n/a Bug Fixes Fix SourceForge bug #606303 ... web-pages were not valid html-4.0. Fix SourceForge bug #593958 ... missing-values should be ignored if they occur in intermediate results of RPN calculations. Fix SourceForge bug #600395 ... won't compile with recently released version (3.2) of GCC compiler. Fix SourceForge bug #600233 ... segfaults if some RPN operators are used on stacks that do not contain enough entries (e.g. ``show {rpn cosh}`').