<< plotly Plotly

Plotly >> Plotly > scatterly

scatterly

Short description

Syntax

scatterly(x,y)

Arguments

x, y

Columns or rows vectors of n real numbers specifying the abscissae and the ordinates of the centers of markers.

Description

scatterly(x,y) creates a scatter plot with markers centered at the (x, y) set of coordinates.

The default type of the marker is a circle, the default color is "blue" .

Examples

// x and y initialisation
x = linspace(0,2,100);
y = exp(-x).*cos(10*x) + 0.2*rand(1,length(x));
// create 2D scatter plot
scatterly(x,y)

See also


Report an issue
<< plotly Plotly