Python with Arduino LESSON 8: Introduction to Graphing with Matplotlib

While it is cool to create 3D visuals using vPython to represent our data coming from arduino, sometimes we want to make more quantitative graphs and charts from the data. To do this, we need to learn how to create graphs in Python. We do this using the library Matplotlib. We learned how to install and download this library in Python with Arduino LESSON 7: If you have not installed the library yet, make sure to go back and do in as shown in LESSON 7.

With the library installed, we are ready to learn Matplotlib. The video takes you through an introductory tutorial with step-by-step instructions. The code below is a sample of how to plot a sin and cos wave. You can watch the video, and then play around with the parameters to become familiar with this library.

 

3 thoughts on “Python with Arduino LESSON 8: Introduction to Graphing with Matplotlib”

  1. Paul
    Thank you very much for all of your tutorials.
    They are the best ever, I am enjoying them so much and learning so much from you.
    I’m totally amazed

    Kind regards
    Martin

  2. I am a college student from Dalian, China. Thanks for your lessons, that’ s awesome.
    I want to learn Arduino, so i wonder how can i buy the devices in your video.
    thanks a lot.

Leave a Reply

Your email address will not be published. Required fields are marked *