Skip to Main Content Skip to Search
Product Documentation

plot (DataMatrix) - Draw 2-D line plot of DataMatrix object

Syntax

plot(DMObj1)
plot(DMObj1, DMObj2)
plot(..., LineSpec)

Arguments

DMObj1, DMObj2

DataMatrix objects, such as created by DataMatrix (object constructor).

    Note   If both DMObj1 and DMObj2 are input arguments, one of the inputs can be a MATLAB numeric array.

LineSpec

String specifying a line style, marker symbol, and color of the plotted lines. For more information on these specifiers, see LineSpec.

Description

plot(DMObj1) plots the columns of a DataMatrix object DMObj1 versus their index.

plot(DMObj1, DMObj2) plots the data from DMObj1 and DMObj2, two DataMatrix objects, or one DataMatrix object and one MATLAB numeric array.

plot(..., LineSpec) plots all lines as defined by LineSpec, a character string specifying a line style, marker symbol, and/or color.

See Also

DataMatrix | plot

How To

  


Free Computational Biology Interactive Kit

See how to analyze, visualize, and model biological data and systems using MathWorks products.

Get free kit

Trials Available

Try the latest computational biology products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS