Problems with drawing graphs by using matplotlib

22 views (last 30 days)
i started to use matplotlib to draw graphs but at some points it does not work out. when i am using: x = linspace(a,b,n) instead of x = arange(a,b,n) it does not show me any graph and i don't know why. Can you please help me in this case?
  2 Comments
José-Luis
José-Luis on 24 Aug 2016
matplotlib is a python library. This is a Matlab forum. Am I missing something?
Jim Heneghan
Jim Heneghan on 10 Jun 2022
https://www.mathworks.com/help/matlab/matlab_external/create-object-from-python-class.html

Sign in to comment.

Answers (1)

rushabh rupani
rushabh rupani on 10 Nov 2019
Hey guys,
Check out the following cool tutorial on Python matplotlib tutorial with example.
You will learn how to report and chart using the Python matplotlib library.
The matplotlib.pyplot is the collection of command style and functions that make matplotlib works like a MATLAB in Python. Each pyplot function makes some change to a figure and we will able to analyze the data based on that figure.
If you do not know what is Jupyter notebook then check out the following link. It is very useful for me.
Hope this helps.

Categories

Find more on Integration with Online Platforms in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!