Borrar filtros
Borrar filtros

fplot change plot axes (y versus x)

14 visualizaciones (últimos 30 días)
Giorgia Fattorini
Giorgia Fattorini el 25 de Abr. de 2020
Respondida: Sebastian Killing el 21 de Nov. de 2020
I would like fplot to change the x axis to the y axis. I wish my function was plotted y vs x
  1 comentario
Ameer Hamza
Ameer Hamza el 25 de Abr. de 2020
Can you show the code you are using with fplot()?

Iniciar sesión para comentar.

Respuestas (2)

Sebastian Killing
Sebastian Killing el 21 de Nov. de 2020
[X,Y]=fplot(fun,[0.05 50])
plot(Y,X)

Pravin Jagtap
Pravin Jagtap el 28 de Abr. de 2020
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.

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by