How to create a 3-D ternary plot

11 visualizaciones (últimos 30 días)
David
David el 2 de Mzo. de 2011
I'm trying to create a 3D ternary plot similar to this one:
http://upload.wikimedia.org/wikipedia/en/e/ed/Saddle_Azeotrope.png
I found some code that allows me to make flat ternary plots, but I need to be able to diagram the height for a project. Is it possible to create something like that in matlab?

Respuestas (2)

Matt Fig
Matt Fig el 2 de Mzo. de 2011
I don't know of any built-in way to do exactly this in basic MATLAB. It could be done as a custom function, but I don't think it would be a quick and easy undertaking. You might want to search the FEX. Here is one example that showed up (there may be others as well):
  1 comentario
David
David el 2 de Mzo. de 2011
that is perfect, thank you very much!

Iniciar sesión para comentar.


Paulo Silva
Paulo Silva el 2 de Mzo. de 2011
surf surfc?
[X,Y,Z] = peaks(30);
surfc(X,Y,Z)
colormap hsv
axis([-3 3 -3 3 -10 5])
  1 comentario
Matt Fig
Matt Fig el 2 de Mzo. de 2011
SURFC (and cousins) will plot a surface, but if you look at the OP's link, the three planes have meaning when viewing the surface. If I were going to make a custom version of such functionality, I would think SURF would be an integral part of it.

Iniciar sesión para comentar.

Categorías

Más información sobre Annotations 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