print <expression> {, <expression>, ...}
The print command prints the value of one or more expressions.
Output is to the screen unless it has been redirected using a prior
set print command. See expressions (p. ). See also printerr (p.
).
An expression
may be any valid gnuplot expression, including numeric
or string constants, a function returning a number or string, an array,
or the name of a variable. It is also possible to print a datablock.
The sprintf and gprintf functions can be used in conjunction with print
for additional flexibility in formmating output.
Examples:
print 123 + 456 print sinh(pi/2) print "rms of residuals (FIT_STDFIT) is ", FIT_STDFIT print sprintf("rms of residuals is %.3f after fit.", FIT_STDFIT) print $DATA