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.
with⁡plots:
listplot⁡Vector⁡1.2,2.0,3.8,4.2,5.0,datatype=float,color=Green
listplot⁡1,2,3,4,5,6,7,8,9,10,color=Red
The command to create the plot from the Plotting Guide is
listplot⁡seq⁡t2,cos⁡t,t=0..40
See Also
plot[option]
plots[listplot3d]
plots[pointplot]
Download Help Document