I have installed Matplotlib, and I have created two lists, x and y.
I want the x-axis to have values from 0 to 100 in steps of 10 and the y-axis to have values from 0 to 1 in steps of 0.1. How do I plot this graph?
Have a look through the Matplotlib gallery. All the graphs there have their source code available. Find one you like, cut & paste, and dissect!
There is a very good book:
Sandro Tosi, Matplotlib for Python Developers, Packt Pub., 2009.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With