Re: Markers on a matplotlib plot

2013-10-17 Thread Piet van Oostrum
Brandon La Porte writes: > I have the following code to make a plot of 4 different supply curves > (economics). > > > from matplotlib import pyplot as plt > > price = range(0,51) > q1 = [x/2.0 for x in price] > q2 = [x/4.0 for x in price] > q3 = [x/5.0 for x in price] > q4 = [x/10.0 for x in pri

Re: Markers on a matplotlib plot

2013-10-17 Thread Mark Lawrence
On 17/10/2013 02:31, Brandon La Porte wrote: On Wednesday, 16 October 2013 18:31:09 UTC-4, Mark Lawrence wrote: On 16/10/2013 22:34, Brandon La Porte wrote: I have the following code to make a plot of 4 different supply curves (economics). from matplotlib import pyplot as plt

Re: Markers on a matplotlib plot

2013-10-16 Thread Brandon La Porte
On Wednesday, 16 October 2013 18:31:09 UTC-4, Mark Lawrence wrote: > On 16/10/2013 22:34, Brandon La Porte wrote: > > > I have the following code to make a plot of 4 different supply curves > > (economics). > > > > > > > > > from matplotlib import pyplot as plt > > > > > > price = range(0,5

Re: Markers on a matplotlib plot

2013-10-16 Thread Mark Lawrence
On 16/10/2013 22:34, Brandon La Porte wrote: I have the following code to make a plot of 4 different supply curves (economics). from matplotlib import pyplot as plt price = range(0,51) q1 = [x/2.0 for x in price] q2 = [x/4.0 for x in price] q3 = [x/5.0 for x in price] q4 = [x/10.0 for x in pr

Markers on a matplotlib plot

2013-10-16 Thread Brandon La Porte
I have the following code to make a plot of 4 different supply curves (economics). from matplotlib import pyplot as plt price = range(0,51) q1 = [x/2.0 for x in price] q2 = [x/4.0 for x in price] q3 = [x/5.0 for x in price] q4 = [x/10.0 for x in price] markers_on = [20, 40] plt.plot(q1,price,