Problems with drawing graphs by using matplotlib

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 commentaires

José-Luis
José-Luis le 24 Août 2016
matplotlib is a python library. This is a Matlab forum. Am I missing something?
https://www.mathworks.com/help/matlab/matlab_external/create-object-from-python-class.html

Connectez-vous pour commenter.

Réponses (1)

rushabh rupani
rushabh rupani le 10 Nov 2019

0 votes

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.

Catégories

En savoir plus sur Integration with Online Platforms dans Centre d'aide et File Exchange

Question posée :

le 24 Août 2016

Commenté :

le 10 Juin 2022

Community Treasure Hunt

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

Start Hunting!

Translated by