plot [ 3d ] [ item <id> ] [ { <range> } ]
( <filename> | { <expression> } | { <vector obj> } )
[ axes <axes>] [ every { <expression> } ]
[ index <value>] [ select <expression> ]
[ label <string expression> ]
[ title <string> ] [ using { <expression> } ]
[ with { <option> } ]
The plot command is used to produce graphs. The following simple example would plot the sine function:
plot sin(x)
Ranges for the axes of a graph can be specified by placing them in square brackets before the name of the function to be plotted. An example of this syntax would be:
plot [-pi:pi] sin(x)
which would plot the function
(x)
-π
π
z