11.44 print

print { <expression> }

The print command displays a string or the value of a mathematical expression to the terminal. It is most often used to find the value of a variable, though it can also be used to produce formatted textual output from a Pyxplot script. For example,

print a

would print the value of the variable a, and

print "a = %s"%(a)

would produce the same result in the midst of formatted text.