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.

70 SET-SHOW <strong>gnuplot</strong> 4.3 97<br />

Examples:<br />

set datafile binary <br />

show datafile binary<br />

show datafile<br />

unset datafile<br />

set datafile binary filetype=auto<br />

set datafile binary array=512x512 format="%uchar"<br />

70.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 { | locale {""}}<br />

unset decimalsign<br />

show decimalsign<br />

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

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

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

has the same effect as omitting .<br />

Example:<br />

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

set decimalsign ’,’<br />

Please note: If you set an explicit string, this affects only numbers that are printed using <strong>gnuplot</strong>’s<br />

gprintf() formatting routine, include axis tics. It does not affect the format expected for input data, and<br />

it does not affect numbers printed with the sprintf() formatting routine. To change the behavior of both<br />

input and output formatting, instead use the form<br />

set decimalsign locale<br />

This instructs the program to use both input and output formats in accordance with the current setting<br />

of the LC ALL, LC NUMERIC, or LANG environmental variables.<br />

set decimalsign locale "foo"<br />

This instructs the program to format all input and output in accordance with locale "foo", which must<br />

be installed. If locale "foo" is not found then an error message is printed and the decimal sign setting<br />

is unchanged. On linux systems you can get a list of the locales installed on your machine by typing<br />

"locale -a". A typical linux locale string is of the form "sl SI.UTF-8". A typical Windows locale string<br />

is of the form "Slovenian Slovenia.1250" or "slovenian". Please note that interpretation of the locale<br />

settings is done by the C library at runtime. Older C libraries may offer only partial support for locale<br />

settings such as the thousands grouping separator character.<br />

set decimalsign locale; set decimalsign "."<br />

This sets all input and output to use whatever decimal sign is correct for the current locale, but over-rides<br />

this with an explicit ’.’ in numbers formatted using <strong>gnuplot</strong>’s internal gprintf() function.<br />

70.16 Dgrid3d<br />

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

splot grid data (p. 153) for more details about the grid data structure.<br />

Syntax:

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

Saved successfully!

Ooh no, something went wrong!