- Two targets added, post-build: and post-install:,
to build gnuplot.pdf (which was in 4.6.6 PLIST),
and two dependency for above process. Thanks gdt@ for comment.
(upstream)
- Update 4.6.6 to 5.0.0
---------------------
GNUPLOT Version 5.0 Release Notes
=================================
Gnuplot version 5 contains significant new capabilities and enhancements.
The most recent previous release was 4.6 patchlevel 6 (4.6.6).
Please see the NEWS file for bugfixes and minor changes to version 5.0
applied after feedback on release candidates -rc1, -rc2, and -rc3.
Release Notes date: 31 December 2014
NOTABLE NEW FEATURES
====================
* New plot styles "with parallelaxes" and labeled contours.
* New coordinate system (Degrees, Minutes, Seconds) "set xdata geographic".
* The "fit" command can now handle functions with up to 12 variables, and
can take into account errors on x as well as errors on dependent variables.
Final covariance terms are stored in user-accessible variables.
Fitting options are now controlled by the command "set fit ..." rather than
by environmental variables.
* The interpretation of columns in a "fit" command depends on new keywords
"error", "xyerror", "zerror". In most cases the program can also recognize
version 4 syntax (no error keyword but last column contains zerror).
* The dot/dash pattern of a line can now be controlled independently
from other line properties using the keyword "dashtype".
* The default color of individual line types can be changed using
"set linetype" (introduced in 4.6). In version 5 a default overall color
sequence can be selected using "set colors {default|classic|podo}".
The "classic" sequence is red/green/blue/magenta/cyan/yellow as used by
older gnuplot versions. The default and podo colors are chosen to be
more easily distinguished in print and in particular by people with color
vision problems.
* Text markup now supports bold and italic font settings in addition to
the subscript, superscript, font size and other options previously
provided by the "enhanced text" mode. This mode is now the default.
* Command scripts may place in-line data in a named data block for
repeated plotting.
* Bit shift operators << and >>
* RGB colors can include an alpha-channel for transparency.
# ARGBcolor = (Alpha << 24) + (Red << 16) + (Green << 8) + Blue
* Secondary axes (x2, y2) can be locked to the primary axis via a mapping
function. In the simplest case this guarantees that the primary and
secondary axis ranges are identical. In the general case it allows you
to define a non-linear axis, something that previously was only possible
for the special case of log scaling.
* The "import" command attaches a user-defined function name to a
function provided by an extenal shared object (i.e. a plugin library).
* Previous commands in the history list of an interactive session can be
reexecuted by number. For example "history !5" will reexecute the
command numbered 5 in the list reported by "history".
* Hypertext labels in the interactive terminals including web display
using the HTML canvas or svg terminals.
Many other additions are described in the "New Features" section of the
documentation.
CHANGES
=======
Gnuplot development assigns very high priority to backward compatibility
with earlier versions. For example any command script that worked in
version 4.0 is expected to continue to work for all version 4 releases
including the most recent one (4.6.6). However changes introduced in
version 5 can affect the operation of some version 4 scripts.
A brief summary of potentially incompatible changes is given here.
* Earlier versions of gnuplot used the keyword "linetype" to mean both
the color and the solid/dot/dash pattern of a line. Version 5 has
separate keywords "linecolor" and "dashtype". You can use these keywords
directly in a plot command or assign any desired color and a dash pattern
to a linetype. The program now provides a default set of 8 linetypes, all solid.
You can change these or add new linetypes as you please. You do not need
to change the current terminal or terminal mode in order to use dashed lines.
* The handling of input data containing NaN, Inf, an inconsistent number of
data columns, or other unexpected content has changed. See documentation
under "missing" for examples and figures.
* Time coordinates are stored internally as the number of seconds relative
to the standard unix epoch 1-Jan-1970. Earlier versions of gnuplot used
a different epoch internally (1-Jan-2000). This change resolves
inconsistencies introduced when time in seconds was generated externally.
The epoch convention used by a particular gnuplot installation can be
determined using the command `print strftime("%F",0)`.
Time is now stored to at least millisecond precision.
* The function `timecolumn(N,"timeformat")` now has 2 parameters.
Because the second parameter is not associated with any particular data axis,
this allows using the `timecolumn` function to read time data for reasons
other than specifying the x or y coordinate. Use of time formats
to generate axis tick labels is now controlled by "set {xy}tics time" rather
than by "set {xy}data time". Thus prior calls to `set xdata time` or
`set timefmt x` are unnecessary for either input or output.
These older commands still work, but are deprecated.
* The "reverse" keyword (e.g. "set xrange [*:*] reverse") now affects only
autoscaling. It has no effect on explicit ranges.
"set xrange [0:1] reverse" is _not_ the same as "set xrange [1:0]".
* Options to the "fit" command are now given by "set fit ..." rather than
by setting environmental variables. Fit can handle up to MAX_NUM_VAR
independent variables (currently 12). Variables other than the first
two (x, y) have been dissociated from axis names. This means, for example,
"set urange [U1:U2]" has no effect on fitting because "u" is not a fit
variable. Use the command "set dummy ..." to assign names to fit variables
3 ... 12.
* The `call` command is implemented by providing a set of variables ARGC,
ARG0, ..., ARG9. ARG0 holds the name of the script file being executed.
ARG1 to ARG9 are string variables and thus may either be referenced directly
or expanded as macros, e.g. @ARG1. The older convention for referencing
call parameters as tokens $0 ... $9 is deprecated.
* "unset xrange" (and other axis ranges) restores the default range.
* "unset terminal" restores the original terminal of the current session.
* NEW linetype keyword "nodraw" can be used to draw only the points in "with lp"
* NEW plot option to "skip N" lines at start of an ascii data file
* NEW 'set fit prescale' normalized fit parameters before M-L refinement
* NEW update svg terminal to grey out the key entry when a plot is toggled off
* NEW allow keywords "comma" and "tab" for "set datafile separator"
* CHANGE Accept "with image pixels" as a synonym for "with image failsafe"
* CHANGE return NaN if a requested numerical data value finds a string instead
* CHANGE Consume only one space following the font name in an enhanced test string
* CHANGE respond to left mouse click on press rather than on release
* FIX Faster recovery from outboard server gnuplot_qt being killed
* FIX get rid of O(N^2) memory allocation for string data in long input lines
* FIX large integers in iteration spec could cause overflow in end condition check
* FIX object fillcolors should be consistent with the color of current linetypes
* FIX LFS support on 64bit platforms (not backported for 32bit platforms)
* FIX timecolumn() applied to non-axis data reports an error rather than faulting
* FIX clipping could fail on integer overflow
* FIX segfault resulting from strcol(N) applied to empty field in a *.csv file
* FIX adjustment of key size to accommodate long key title
* FIX treat data value read as "NaN" the same as we would "1/0"
* FIX handling of events triggered by closing the qt plot window
* FIX iteration failure due to integer overflow
* FIX clip r axis tics to current plot boundary
* FIX logscale cb axis with volatile data
* FIX qt terminal timing problem with mouse click+release
* FIX qt terminal handle window close events
* FIX incorrect processing of certain loop [start🔚incr] combinations
* FIX Fix y extent and clipping of rectangles with y coord < 0 or inverted axes
* FIX handle columnheaders in input to fit
* FIX add sanity check in pdf.trm to avoid strcpy(fontname,fontname)
* NEW monotonic cubic splines using "smooth mcsplines"
* NEW phase-jump removal filter "smooth unwrap"
* NEW allow '+' pseudofile to sample the T axis in 2D parametric plots
* NEW allow '++' pseudofile to sample the U/V axes in 3D parametric plots
* NEW "sixel" terminal driver
* NEW new object attribute clip/noclip
* CHANGE maximum number of using spec columns increased from 7 to 11
* CHANGE code in bitmap.c relicensed to remove restriction to noncommercial use
* FIX allow 'set pm3d' interpolate and top/bottom options to coexist
* FIX revised handling of defined palettes with explicit maxcolors
* FIX continue as normal after an interactive session error from "gnuplot -"
* FIX empty first field in a tab-separated-values file was incorrectly ignored
* FIX several problems with color assignment to contour lines
* FIX qt terminal incorrectly changed linetype (dot/dash) to match line color
* FIX "pause mouse" worked only for right- or center- click, not left-click
* FIX emf terminal font initialization
* FIX wxt terminal vertical centering of enhanced text
* FIX win terminal filled polygon bugs
* FIX iteration over parametric function plots
* FIX autoscaling of polar mode plots
* FIX increase precision of xticlabel placement from (float) to (double)
* FIX allocation error affecting certain cvs files
* NEW Ctrl-Break interrupts fitting run in wgnuplot
* CHANGE treat empty fields in a csv file as "missing" rather than "bad"
* CHANGE allow reference to more than one column header in 'using' or 'title'
* CHANGE install-info is no longer a default "make install" target
* CHANGE if a polar plot is autoscaled, try to place the origin at the center
* FIX svg and canvas terminal mousing of inverted axis coordinates
* FIX emf failed to initialize font correctly on some systems
* FIX timedata columns can now be referred to via column(N) and column("HEAD")
* FIX qt terminal toggling of enhanced text elements in plot with labels
* FIX color/pattern generated for key entries of columnstacked histograms
* FIX hitting ^C twice forces temination of wxt session hung by lost X-server
* FIX win terminal failed to properly adjust plot border after window resize
* FIX several conditions in which macros were not expanded during command input
* FIX promote a string containing only digits to INTGR rather than CMPLX
* FIX 'set grid front' caused failure to initialize location of axis zero point
* FIX very poor precision in mouse coords reported by x11 in -persist mode
* FIX parsing of $# (the number of arguments in a "call"). It's not a comment!
* FIX memory leak of cropped images using pngcairo terminal
* FIX "lc variable" now iterates over linetype colors (not styles) as documented
* FIX rtics were sometimes drawn with length 0
are replaced with .include "../../devel/readline/buildlink3.mk", and
USE_GNU_READLINE are removed,
* .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE
are replaced with .include "../../mk/readline.buildlink3.mk".
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.
While doing that, also bump freetype2 dependency to current pkgsrc
version.
Suggested by tron in PR 47882
* NEW space raises console for console mode gnuplot on Windows
* CHANGE -persist mode does not open text window of wgnuplot
* FIX -persist mode broken on Windows
* FIX -persist mode results in zombie process if using wxt terminal on Windows
* FIX suppression of color in linetypes after "set term ... mono"
* FIX synchronization of graphics and text color in latex terminals
Update a comment in patch-ag.
Remove the point patch for the "crash on first command when using editline",
since this problem is now fixed upstream.
Upstream changes relative to version 4.6.0:
* NEW syntax hints inside Emacs gnuplot-mode
* NEW support tabulation (set table) of pixel values from image plot styles
* NEW support tabulation of variable color column
* CHANGE emf output modified for better compatibility with MS Office programs
* CHANGE canvas terminal loads appropriate font file for UTF-8 encoding
* CHANGE skip execution of empty iteration loops in set and do commands
* CHANGE build scripts modified to accommodate automake 1.12
* CHANGE new policy: objects given in screen coords are not clipped to graph
* CHANGE Draw the z-axis label at a fixed distance to the left of the z-axis
* CHANGE "unset object N" succeeds even if there is currently no object N
* FIX margin space required for rotated axis tic labels
* FIX check for NaN values in binary input
* FIX backslash handling in enhanced text strings
* FIX cairo terminals sometimes lost the line segment before a polygon
* FIX interactive toggle of multiplots in svg
* FIX failure to balance {} if an input file did not end with a newline
* FIX strlen() and substring operators correctly handle UTF-8
* FIX initialization of history when configured --with-readline=bsd
* FIX set term cairolatex pdf mono
* FIX palette-related corruption in some cairolatex output
* FIX preserve number of active call arguments across a nested call command
* FIX wxt terminal mutex protecting execution of the command list
* FIX apply clipping to the interior fill of circles and ellipses
* FIX corruption of weights used for plotting with smooth acsplines
* FIX skip columnheader line when applying "every" filter
* FIX handle out-of-range pm3d values when cb axis is set to log scale
* FIX top/bottom color distinction in hidden3d when not using palette/RGB colors
* FIX allow toggling on/off of more than 10 plots in windows terminal
* FIX color printing from windows terminal
* FIX set term win font ",<size>"
* FIX incorrect return for acos(x) when imag(x) > 0 (bug present since v3.7)
incorrect return for asin(x) when imag(x) > 0 (bug in 4.4.4, 4.6.0)
incorrect asinh(x) when real(x) < 0 && imag(x) == 0 (bug in 4.4.4, 4.6.0)
* FIX keep sufficient precision in canvas and svg coords to report time in msec
* FIX the input buffer was not always extended correctly inside a { clause }
* FIX some cairolatex set_color requests were being ignored
* FIX calculated value of kernel density mean and sigma
* FIX emf terminal dashed line support
changes:
- New syntax supporting multi-line blocks of code delimited by curly braces
if (<cond>) { ... } else { ... }
do for [<iteration-spec>] { ... }
while (<cond>) { ... }
- Time formats can handle fractional seconds to microsecond precision.
- User-definable linetypes that can be used to establish a locally
preferred default sequence of colors or dash/thickness/point styles.
- Statistical summary of the data to be plotted (new command "stats")
- New terminal drivers: qt context epscairo cairolatex
- Improved support for UTF-8, SJIS and other multi-byte encodings
pkgsrc change: added "qt4" and "wxwindows" options (not enabled
by default)
* NEW Implement pan and zoom via mouse wheel.
* NEW set key maxcolumns N maxrows M
* NEW value("varname") returns the value of the named variable
* NEW encoding cp1251 - 8-bit Cyrillic
* CHANGE backport emf terminal driver from version 4.5
* FIX better estimation of latex string lengths
* FIX colorbar representation of discrete color palettes is pixel accurate
* FIX NaN initialization and tests working on more (all?) platforms
* FIX configuration script tests for readline+ncurses
* FIX prevent out-of-range boxes from creating degenerate ghosts on the border
* FIX missing alpha channel flag for pdfcairo terminal
* FIX font initialization in windows terminal
* FIX color specification "lc N"
* FIX clipping error in filled curves
* FIX segfault if "refresh" command follows an interrupted replot
Changes 4.4.1:
* NEW Support the "%s" format specifier in strftime()
* NEW Optional 6th data column in candlesticks style to specific box width
* NEW If integer arithmetic i*j or i**j would overflow, return value as a real
* NEW "set style circle radius <default-radius>"
* FIX autoconfiguration of readline support in OSX
* FIX font problems in win terminal
* FIX Protect against runaway recursion by limiting depth of nested functions
* FIX metapost terminal: Fix inheritance of line thickness by text strings
* FIX cairo terminals could segfault on certain enhanced text strings
* FIX pdfcairo output to stdout now works
* FIX font ",size" in non-enhanced mode postscript terminals
* FIX Do a better job of estimating the width of UTF-8 encoded strings
* FIX baseline bug in canvas terminal rotation of enhanced text
* FIX Allow "with labels" to work for binary input data
* FIX update user GPVAL variables after plot in table mode
* CHANGE depth-sorting of pm3d surfaces now applies jointly to all in the plot
* CHANGE 3D impulses are now always drawn from z=0
* CHANGE Enable HIDDEN_QUADTREE by default
* CHANGE Enable "set fit errorvariables" by default
* CHANGE Regardless of current timefmt, read time from binary files as a binary
* CHANGE do not limit 3D rotation to 0<rotx<180
directories for the default fontpath. PKGREVISION++. ok agc.
The font handling is still fairly problematic; I guess Someone(TM)
should teach this to use fontconfig sometime.