listplot - Maple Help

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

 > $\mathrm{with}\left(\mathrm{plots}\right):$
 > $\mathrm{listplot}\left(\mathrm{Vector}\left(\left[1.2,2.0,3.8,4.2,5.0\right],\mathrm{datatype}=\mathrm{float}\right),\mathrm{color}="Green"\right)$
 > $\mathrm{listplot}\left(\left[1,2,3,4,5,6,7,8,9,10\right],\mathrm{color}="Red"\right)$

The command to create the plot from the Plotting Guide is

 > $\mathrm{listplot}\left(\left[\mathrm{seq}\left(\left[{t}^{2},\mathrm{cos}\left(t\right)\right],t=0..40\right)\right]\right)$