1 from replot import plot
4 x = linspace(0, 2*pi, 100)
6 # Basic plotting of a single data set. (If only
7 # one parameter is given, then [0,1,2,...] is
8 # used for the X values.
11 # You can plot multiple sets of data in a single command
12 plot(x, cos(x), x, sin(x))
14 # You can also specify styles for each data set, see
15 # http://matplotlib.sourceforge.net/matplotlib.axes.html#Axes-plot
18 plot(x, cos(x), 'r--', # red dashed lines
19 x, sin(x), 'bo') # blue circles