01.02.2014 Views

GNUPlot Manual

GNUPlot Manual

GNUPlot Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

68 gnuplot 4.0 36 SET-SHOW<br />

Tic-mark label Date/Time Format Specifiers<br />

Format Explanation<br />

%a abbreviated name of day of the week<br />

%A full name of day of the week<br />

%b or %h abbreviated name of the month<br />

%B full name of the month<br />

%d day of the month, 1–31<br />

%D shorthand for "%m/%d/%y"<br />

%H or %k hour, 0–24<br />

%I or %l hour, 0–12<br />

%j day of the year, 1–366<br />

%m month, 1–12<br />

%M minute, 0–60<br />

%p ”am” or ”pm”<br />

%r shorthand for "%I:%M:%S %p"<br />

%R shorthand for %H:%M"<br />

%S second, 0–60<br />

%T shorthand for "%H:%M:%S"<br />

%U week of the year (week starts on Sunday)<br />

%w day of the week, 0–6 (Sunday = 0)<br />

%W week of the year (week starts on Monday)<br />

%y year, 0-99<br />

%Y year, 4-digit<br />

Except for the non-numerical formats, these may be preceded by a "0" ("zero", not "oh") to pad the<br />

field length with leading zeroes, and a positive digit, to define the minimum field width (which will be<br />

overridden if the specified width is not large enough to contain the number). There is a 24-character<br />

limit to the length of the printed text; longer strings will be truncated.<br />

Examples:<br />

Suppose the text is "76/12/25 23:11:11". Then<br />

set format x # defaults to "12/25/76" \n "23:11"<br />

set format x "%A, %d %b %Y" # "Saturday, 25 Dec 1976"<br />

set format x "%r %D" # "11:11:11 pm 12/25/76"<br />

Suppose the text is "98/07/06 05:04:03". Then<br />

set format x "%1y/%2m/%3d %01H:%02M:%03S" # "98/ 7/ 6 5:04:003"<br />

36.22 Function style<br />

This form of the command is deprecated. Please see set style function (p. 93).<br />

36.23 Functions<br />

The show functions command lists all user-defined functions and their definitions.<br />

Syntax:<br />

show functions<br />

For information about the definition and usage of functions in gnuplot, please see expressions (p. 19).<br />

See also<br />

and<br />

splines as user defined functions (spline.dem)<br />

use of functions and complex variables for airfoils (airfoil.dem).

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

Saved successfully!

Ooh no, something went wrong!