MATLAB Function Reference | Go to function: | Search Help Desk

plot |

plot a dataset

Syntax

    h=plot(d,colors)

    h=plot(d,colors,classes)

    h=plot(d,colors,classes,vars)

Description

`h=plot(d,colors)` plot the dataset `d` using the cell array of colors `colors`. Every classes are plot among the two first variables. The handles of the plots for the different classes are returned inside h.

`h=plot(d,colors,classes)` Only the classes specified inside the cell array `classes` are plot with respect to the two first features.

`h=plot(d,colors,classes,vars)` The classes specified inside the cell array `classes` are plot with respect to the variables specified inside the array `vars`.

[ Help Desk ]