fplot change plot axes (y versus x)

I would like fplot to change the x axis to the y axis. I wish my function was plotted y vs x

回答(2 个)

Pravin Jagtap
Pravin Jagtap 2020-4-28
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.

类别

在 帮助中心 和 File Exchange 中查找有关 Line Plots 的更多信息

产品

标签

Community Treasure Hunt

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

Start Hunting!

Translated by