14.10.2014 Views

gnuplot documentation

gnuplot documentation

gnuplot documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4 NEW FEATURES INTRODUCED IN VERSION <strong>gnuplot</strong> 4.3 4.2<br />

17<br />

4 New features introduced in version 4.2<br />

Gnuplot version 4.2 offers many new features introduced since the preceding official version 4.0. This<br />

section lists major additions and gives a partial list of changes and minor new features. For a more<br />

exhaustive list, see the NEWS file.<br />

4.1 New plot styles<br />

4.1.1 Histogram<br />

Histograms, or bar charts, can be produced. See histograms (p. 45).<br />

4.1.2 Label plots<br />

In coordination with the new datastrings feature described below, <strong>gnuplot</strong> can draw a label at each<br />

vertex of a curve. See labels (p. 48).<br />

4.1.3 Image data<br />

The image and rgbimage styles allow to plot 2D images (from ascii or binary files) and map them in<br />

a 2D or 3D plot. See image (p. 47) and rgbimage (p. 50).<br />

4.1.4 Filled curves<br />

The plot style fillstyle has been augmented to allow to fill the area between two input curves with a<br />

color or a pattern. See filledcurves (p. 43).<br />

4.1.5 Vectors<br />

Gnuplot can draw plots with vectors with a small arrowhead, requiring four or six columns of data for<br />

2D or 3D, respectively. See vectors (p. 50).<br />

4.2 Input from binary data files<br />

Gnuplot can now read a generic binary input, including matrix binary and general binary (until now<br />

<strong>gnuplot</strong> supported only its own binary matrix format). Several matrix file formats are autodetected<br />

(gpbin, edf, avs). Binary data files are mainly useful for image and rgbimage drawings. See binary<br />

(p. 66) and binary general filetype (p. 68).<br />

4.3 New plot elements<br />

4.3.1 RGB colors<br />

Explicit RGB colors can be specified for all plot elements instead of specifying a predefined linetype.<br />

See colorspec (p. 32).<br />

4.3.2 Arbitrary rectangles<br />

You can place rectangles with desired fill style and border anywhere in a 2D plot.<br />

rectangle (p. 128).<br />

See set object

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!