01.02.2014 Views

GNUPlot Manual

GNUPlot Manual

GNUPlot Manual

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.

36 SET-SHOW gnuplot 4.0 63<br />

36.14.3 Set datafile commentschars<br />

The set datafile commentschars command allows you to tell gnuplot what characters are used in<br />

a data file to denote comments. Gnuplot will ignore rest of the line behind the specified characters if<br />

either of them is the first non-blank character on the line.<br />

Syntax:<br />

set datafile commentschars {""}<br />

show datafile commentschars<br />

unset commentschars<br />

Default value of the string is "#!" on VMS and "#" otherwise.<br />

Then, the following line in a data file is completely ignored<br />

# 1 2 3 4<br />

but the following<br />

1 # 3 4<br />

produces rather unexpected plot unless<br />

set datafile missing ’#’<br />

is specified as well.<br />

Example:<br />

set datafile commentschars "#!%"<br />

36.15 Decimalsign<br />

The set decimalsign command selects a decimal sign for numbers printed into tic labels or set label<br />

strings.<br />

Syntax:<br />

set decimalsign {}<br />

unset decimalsign<br />

show decimalsign<br />

The argument is the string to be used in place of the usual decimal point. Typical choices<br />

include the period, ’.’, and the comma, ’,’, but others may be useful, too. If you omit the <br />

argument, the decimal separator is not modified from the usual default, which is a period. Unsetting<br />

decimalsign has the same effect as omitting .<br />

Example:<br />

Correct typesetting in most European countries requires:<br />

set decimalsign ’,’<br />

36.16 Dgrid3d<br />

The set dgrid3d command enables, and can set parameters for, non-grid to grid data mapping.<br />

Syntax:<br />

set dgrid3d {} {,{} {,}}<br />

unset dgrid3d<br />

show dgrid3d<br />

By default dgrid3d is disabled. When enabled, 3-d data read from a file are always treated as a scattered<br />

data set. A grid with dimensions derived from a bounding box of the scattered data and size as specified<br />

by the row/col size parameters is created for plotting and contouring. The grid is equally spaced in x

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

Saved successfully!

Ooh no, something went wrong!