Plotline

Parent Previous Next

Plotline


Single Line Plotting



Syntax


plotline(x, y)

x, y are row/column vectors of the same size. They defines the x and y coordinates for the data points in the line.



Example


Input

x = linspace(0, 2*PI)

y = sin(x)

plotline(x, y)


Output


Note:


After you input the command, a new window will pop-up to show the chart. If you can not see the window and there is no error message, make sure your browser does not auto-block the pop-up window.


Menu:


You also can modify the looking of the chart through the following menus:


       

       



       



       



       


See Also



Created with the Personal Edition of HelpNDoc: Easily create iPhone documentation