fplot change plot axes (y versus x)
Mostra commenti meno recenti
I would like fplot to change the x axis to the y axis. I wish my function was plotted y vs x
1 Commento
Ameer Hamza
il 25 Apr 2020
Can you show the code you are using with fplot()?
Risposte (2)
Sebastian Killing
il 21 Nov 2020
[X,Y]=fplot(fun,[0.05 50])
plot(Y,X)
Pravin Jagtap
il 28 Apr 2020
0 voti
Hello Giorgia,
'fplot' is mostly used to plot a curve defined by y=f(x) where 'x' is input and 'y' is output which is the standard convention. I would recommend you use a simple 'plot' function since you will get control over how you want to represent the data in the plot.
Refer to the following documentation for more details:
Hope this will help you.
Categorie
Scopri di più su Scatter Plots in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!