Problems with drawing graphs by using matplotlib

21 次查看(过去 30 天)
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 个评论
José-Luis
José-Luis 2016-8-24
matplotlib is a python library. This is a Matlab forum. Am I missing something?
Jim Heneghan
Jim Heneghan 2022-6-10
https://www.mathworks.com/help/matlab/matlab_external/create-object-from-python-class.html

请先登录,再进行评论。

回答(1 个)

rushabh rupani
rushabh rupani 2019-11-10
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.

类别

Help CenterFile Exchange 中查找有关 Integration with Online Platforms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by