plots[listplot] - two-dimensional plot of list of values
|
Calling Sequence
|
|
listplot(L, options)
listplot(P, options)
|
|
Parameters
|
|
L
|
-
|
list or Vector of numeric values
|
P
|
-
|
list or Matrix containing points data
|
|
|
|
|
Description
|
|
•
|
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.
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
The command to create the plot from the Plotting Guide is
>
|
|
|
|
Download Help Document
Was this information helpful?