views:

108

answers:

1

I am new to python. I have installed Matplotlib. I have created 2 lists x and y. I want X axis to have values from 0 to 100 in steps of 10 and Y axis to have values from 0 to 1 in steps of 0.1. How do I plot this graph?

+4  A: 

Have a look through the matplotlib gallery, all the graphs there have their source code available. Find one you like, cut & paste, dissect!

Sam Doshi
+1 he might need something like http://matplotlib.sourceforge.net/examples/api/unicode_minus.html
Yin Zhu