Next: , Previous: format_, Up: format_


2.21.21.1 gprintf

The string function gprintf("format",x) uses gnuplot's own format specifiers, as do the gnuplot commands `set format`, timestamp, and others. These format specifiers are not the same as those used by the standard C-language routine sprintf(). Gnuplot also provides an sprintf("format",x,...) routine if you prefer. For a list of gnuplot's format options, see `format specifiers`.