plots
listplot
two-dimensional plot of list of values
Calling Sequence
Parameters
Description
Examples
listplot(L, options)
listplot(P, options)
L
-
list or Vector of numeric values
P
list or Matrix containing points data
The listplot command creates a two-dimensional plot of a list or Vector of numeric values. The values in the list or Vector [v1,v2,v3,...,vn] are interpreted as y-values corresponding to x-values 1,2,3,...,n; i.e., the points (1,v1), (2,v2), (3,v3), ..., (n,vn) are plotted.
The listplot command also accepts a list or Matrix containing points data. Any of the formats allowed by the plots[pointplot] command are allowed.
The connect option indicates whether the data points are to be connected. The default is true.
Remaining arguments are interpreted as plot options. See plot/options for a list of possible options.
The command to create the plot from the Plotting Guide is
See Also
plot[option]
plots[listplot3d]
plots[pointplot]
Download Help Document