Close
Close window
listplot - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

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

>

withplots:

>

listplotVector1.2,2.0,3.8,4.2,5.0,datatype=float,color=Green

>

listplot1,2,3,4,5,6,7,8,9,10,color=Red

The command to create the plot from the Plotting Guide is

>

listplotseqt2,cost,t=0..40


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /