Skip to content

Releases: pgf-tikz/pgfplots

Version 1.17

29 Feb 09:04
Compare
Choose a tag to compare

pgfplots - Create normal/logarithmic plots in two and three dimensions for LaTeX/TeX/ConTeXt.

pgfplotstable - Loads, rounds, formats and postprocesses numerical tables.

PGFPlots draws high--quality function plots in normal or logarithmic scaling
with a user-friendly interface directly in TeX. The user supplies axis labels,
legend entries and the plot coordinates for one or more plots and PGFPlots
applies axis scaling, computes any logarithms and axis ticks and draws the
plots. It supports line plots, scatter plots, piecewise constant plots, bar
plots, area plots, mesh and surface plots, patch plots, contour plots, quiver
plots, histogram plots, polar axes, ternary diagrams, smith charts and some
more.

Pgfplots is based on Till Tantau's package PGF/TikZ (pgf).

Pgfplotstable displays numerical tables rounded to desired precision in various
display formats, for example scientific format, fixed point format or integer,
using TeX's math facilities for pretty printing. Furthermore, it provides
methods for table postprocessing.

Please take a look at
doc/latex/pgfplots/pgfplots.pdf
and
doc/latex/pgfplots/pgfplotstable.pdf.

Copyright 2007-2020 by Christian Feuersaenger.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.

HISTORY:
1.17

  • fixed bug: restore compatibility with pgf/tikz circle syntax inside of pgfplots
  • new feature #62: 'coordinate style' which allows to associate options with individual coordinates.
  • new feature pgfplotstable: added 'text indicator'
  • new feature pgfplotstable: added 'percent is letter' to allow comment chars
    within string-based tables

1.16:

  • fixed bug #111 [fillbetween] strange behavior when soft clip is used and one of the paths touches the axis border
  • fixed bug #183: Nan in the first line of a numeric table was interpreted as column name
  • fixed bug #187 Wrong output from mod in axis
  • fixed bug #109 visualization depends on doesn't work with table from pgfplotstable is now fixed for numeric values
  • fixed bug: \pgfplotstablenew was unable to create tables with 0 or 1 rows.
  • fixed bug: 114 fillbetween suffered from inaccuracy (produced invisible segments)
  • fixed bug #139 [fillbetween] numerical issues with dense points
  • fixed bug #153: \begin{tikzpicture}[scale=...] combined with fill between or
    'set layers' resulted in a wrong bounding box
  • \addplot gnuplot: autodetected unbounded coordinates
  • new feature: parse tick positions using math parser (tracker #69)
  • new feature: programmatic access to axis coordinates for given canvas coordinates (\pgfplotspointgetcoordinates, tracker 68)
  • new feature: 'x filter/.append expression', a stackable variant of 'x filter/.expression'

1.15: bugfix release

  • fixed regression: fpu caused forest library to fail as soon as one loads pgfplots
  • fixed bug #149 : \edef{...\to...} was wrong and caused \pgfplotstablevertcat to fail
  • usability: added support for \plotnum during \addplot
  • fixed bug 134 [statistics] Histogram with custom symbolic coords
  • fixed bug 140 (pgfplotstable read does not process empty rows anymore)
  • fixed bug 150 Usage of \pgfkeysvalueof in xtick leads to 'Dimension too large'
  • fixed bug 105 [manual] xticklabel pos=upper is not documented
    in fact, some of the documented positions for 'xtick pos' where
    unavailable.
  • fixed bug 155 [groupplots] scaled ticks does not recognize ticklabels at
  • fixed bug 160 xticklabels also used for extra x tick labels if they are not given explicitely
  • implemented partial solution for bug 154 [log mode] sampling in 2D and 3D different
  • fixed bug 163 [bar-chart] bars dissapear when values are >xmax/ymax
  • fixed bug 81 cannot use dollar sign as 'comment char'
  • fixed bug 91 Hashes in data
  • fixed bug 165 [minor ticks] minor tick drawn after the last xtick
  • fixed bug 176: 2d plot expression in 3d axis fails for lualatex

1.14

  • new feature: 'contour filled' (compat=1.14)
  • new feature: building colormaps from other colormaps (see "Building Colormaps based on other Colormaps" in the manual)
  • new feature: non-uniform colormaps (compat=1.14)
  • new feature: colormaps defined on position of arbitrary magnitude
  • new feature: colorbar as legend
  • new feature: 'colorbar style={xtick=data}' positions tick labels at colormap positions
  • fixed bug: pgfplots now handles incompatible changes of luatex
    loading \usepackage{pgfplots} before pgf also allows makes older
    PGF versions compatible with luatex
  • fixed bug: incompatibility between units + groupplots (bug 119)
  • fixed bug: 'axis line shift' did not respect labels
  • fixed bug: layers for axis lines were not respected
  • fixed bug: two axes with fillbetween in the same picture failed due to clip paths on layers
  • fixed bug: quiver plots with 'every arrow' failed to evaluate arrow tip length arguments
  • fixed bug: \usepgfplotslibrary{colorbrewer}: colormap 'PuOr' was defined in reverse order

1.13:

  • fixed bug: incompatiblity between fillbetween and babel
  • fixed bug: 'compat=1.9' (or newer) failed to work with log bar plots
  • fixed bug: javascript incompatibility between Acrobat reader DC and clickable lib
  • fixed bug in polar axes: repaired default axis label positions
  • fixed bug in polar axes: repaired support for sloped descriptions
  • fixed bug: 'axis line style={draw=none}' had no effect unless one had 2d boxed axes
  • fixed bug: point meta expressions with '=' inside of them which caused compilation errors
  • fixed bug: compat=1.12 combined with interrupted plots (by empty line) failed to work
  • fixed bug: compat=1.12 combined with lualatex evaluated relational operations (<, ==) with the wrong operator precedence
  • fixed bug: fixed floor and ceil functions
  • fixed bug: 'set layers' broke alignment features with different manifestations
    ('set layers' together with fill between in group plots, together with at={} key, together with anchor)
  • fixed bug: fill between and group plots: fill-between graphics was missing (list of layers was lost)
  • fixed bug: \addplot graphics {\newFile{P.pdf}}; failed to properly expand the file name
  • fixed bug: fill between + error bars resulted in compilation error
  • fixed bug: stacked plots occasionally used a wrong coordinate mapping
  • fixed bug: provided suitable default legends for xbar and xbar stacked
  • fixed bug: 'dateplot' now computes missing 'date ZERO' automatically. 'date ZERO' is managed automatically.
  • new feature: Added support for search paths to find data files (table/search path)
  • new feature: 'xtick distance' allows to define tick positions by distance
  • new feature: "axis line shift=10pt" shifts axis lines together with all their descriptions
  • new feature: 'matrix plot' (alias 'imagesc') which allows cell-based matrix plots
  • new feature: unbounded point meta in mesh plots will be treated like an invisible patch
  • new feature: added high quality colormap 'viridis' (use 'colormap name=viridis' to activate it)
  • new feature: ensured that 'shader=flat' returns the same result for every choice of 'z buffer' (starting with compat=1.13)
  • new feature: utility function \pgfplotsforeachungrouped: added support for \breakforeach
  • new feature: compat=1.13: activates sampling routine with less rounding errors
  • new feature: cycle multiindex list (uses the 'ith' element for every provided sub-list)
  • new feature: 'color of colormap=' or 'color of colormap= of '
  • new feature: 'index of colormap=' or 'index of colormap= of '
  • new feature: cycle list={[of colormap]}
  • new feature: cycle list={[colors of colormap={0,100,500,100} of viridis]}
  • new feature: cycle list={[indices of colormap={0,1,2,3} of hot]}
  • new feature: added support for 'stack negative=on previous|separate' which allows separate plots for '+' and '-' (useful for bar plots)
  • new feature: added support for 'colormap access=direct' combined with 'shader=flat mean' and 'shader=interp':
    it previously used to interpolate indices instead of colors
  • new feature: \closedcycle now produces useful results for 3d line plots
  • new feature: added \usetikzlibrary{colorbrewer} and \usepgfplotslibrary{colorbrewer}
  • new feature: added 'colormap access=piecewise constant'
  • new feature: added rudimentary support for "Filled Contours" (based on 'colormap access=piecewise constant')
  • new feature: added methods to build colormaps based on other colormaps using
    "color of colormap", "index of colormap", "colors of colormap", "samples of colormap", and "indices of colormap"

1.12.1: minor bugfix release

  • fixed bug: incompatibility of 1.12 with unicode-math
  • fixed bug: lua backend failed to work with table input and dependency on \coordindex
  • fixed bug: lua backend failed with 'forget plot'

1.12: scalability + performance

  • scalability: reduced TeX memory consumption for huge inline tables

  • scalability: lualatex allows bigger 3d graphics

  • scalability: lualatex now reduces compilation time for huge 3d graphics
    (requires \pgfplotsset{compat=newest} at the time of this writing)
    surf shader=faceted: time reduced to 61% of pdflatex
    (\addplot3[surf,samples=70] {exp(-x^2-y^2 +x*y)})

    surf shader=interp: time reduced to 25% of pdflatex
    (\addplot3[surf,shader=interp,samples=70] {exp(-x^2-y^2 +x*y)})

    surf shader=i...

Read more