GNUPlot Manual
GNUPlot Manual
GNUPlot Manual
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
144 gnuplot 4.0 36 SET-SHOW<br />
Any character is allowed in the string, but must match exactly. \t (tab) is recognized. Backslash-octals<br />
(\nnn) are converted to char. If there is no separating character between the time/date elements, then<br />
%d, %m, %y, %H, %M and %S read two digits each, %Y reads four digits and %j reads three digits.<br />
%b requires three characters, and %B requires as many as it needs.<br />
Spaces are treated slightly differently. A space in the string stands for zero or more whitespace characters<br />
in the file. That is, "%H %M" can be used to read "1220" and "12 20" as well as "12 20".<br />
Each set of non-blank characters in the timedata counts as one column in the using n:n specification.<br />
Thus 11:11 25/12/76 21.0 consists of three columns. To avoid confusion, gnuplot requires that you<br />
provide a complete using specification if your file contains timedata.<br />
Since gnuplot cannot read non-numerical text, if the date format includes the day or month in words,<br />
the format string must exclude this text. But it can still be printed with the "%a", "%A", "%b", or<br />
"%B" specifier: see set format (p. 66) for more details about these and other options for printing<br />
timedata. (gnuplot will determine the proper month and weekday from the numerical values.)<br />
See also set xdata (p. 146) and Time/date (p. 27) for more information.<br />
Example:<br />
set timefmt "%d/%m/%Y\t%H:%M"<br />
tells gnuplot to read date and time separated by tab. (But look closely at your data — what began as<br />
a tab may have been converted to spaces somewhere along the line; the format string must match what<br />
is actually in the file.) See also<br />
time data demo.<br />
36.65 Title<br />
The set title command produces a plot title that is centered at the top of the plot. set title is a special<br />
case of set label.<br />
Syntax:<br />
set title {""} {}{,} {"{,}"}<br />
{{textcolor | tc} {lt | default}}<br />
show title<br />
Specifying constants or as optional offsets for the title will move the title or<br />
character screen coordinates (not graph coordinates). For example, "set title ,-1" will change<br />
only the y offset of the title, moving the title down by roughly the height of one character.<br />
is used to specify the font with which the title is to be written; the units of the font <br />
depend upon which terminal is used.<br />
textcolor lt sets the text color to that of line type .<br />
set title with no parameters clears the title.<br />
See syntax (p. 26) for details about the processing of backslash sequences and the distinction between<br />
single- and double-quotes.<br />
36.66 Tmargin<br />
The command set tmargin sets the size of the top margin. Please see set margin (p. 77) for details.<br />
36.67 Trange<br />
The set trange command sets the parametric range used to compute x and y values when in parametric<br />
or polar modes. Please see set xrange (p. 148) for details.