Borrar filtros
Borrar filtros

How to plot a value as function of two variables

2 visualizaciones (últimos 30 días)
maxroucool
maxroucool el 24 de Ag. de 2016
Respondida: maxroucool el 24 de Ag. de 2016
Hello,
I would like to plot the value of a function as function of two variables. Example : [x y] => Value
The value could be manifested by a change of color, as it would be if it was a surface. The only difference is that I want to plot it as a 2D graph.
Thank you very much,
Max

Respuesta aceptada

maxroucool
maxroucool el 24 de Ag. de 2016
Hello,
I found this other question which is similar. I would have prefer a continuous line, rather than dots, but I'll keep this solution. Except if you find a better one ;)
BR
Max

Más respuestas (3)

KSSV
KSSV el 24 de Ag. de 2016
How about plot3(x,y,z)?

maxroucool
maxroucool el 24 de Ag. de 2016
Hello,
I just tried plot3(x,y,z), it returns a 3D plots with 3 axis. Whereas I would like only 2 axis.
Thanks,
Max

Torsten
Torsten el 24 de Ag. de 2016

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by