Effacer les filtres
Effacer les filtres

how to Expand the plot line in a function

4 vues (au cours des 30 derniers jours)
Fernando Moreno
Fernando Moreno le 3 Nov 2021
Modifié(e) : Chris le 4 Nov 2021
I have a struggle plotting a function in Matlab because the plotline is not complete and it's cut after certain value and because of that I cannot preview well my function. Is there a way to expand the plot line so I can see the complete function?

Réponse acceptée

Chris
Chris le 3 Nov 2021
Modifié(e) : Chris le 4 Nov 2021
The default x interval for fplot is [-5 5]. You can change it with the xinterval argument:
fplot(y,[0,130])
You don't need an x argument unless x is a function (like a parametric equation)

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by