3 z axes on a surface graph

2 Ansichten (letzte 30 Tage)
Dmitriy Rivkin
Dmitriy Rivkin am 8 Jun. 2011
I would like to surface plot 3 sets of data on one 3d graph, all with the same x and y axes, and all with different z axes. How would I go about doing this?
Cheers
Dmitriy

Antworten (1)

Sean de Wolski
Sean de Wolski am 9 Jun. 2011
figure;hold on
surf(magic(3))
surf(rand(3))
surf(ones(3))
  2 Kommentare
Dmitriy Rivkin
Dmitriy Rivkin am 9 Jun. 2011
Thanks for the reply Sean, but the solution that you gave plots the three surfaces using the same z axis. I am trying to make a plot using three different axes, since the units and limits of the dependent variable are different for each data set, meaning that I need to be able to choose a different Z scale for each data set.
Sean de Wolski
Sean de Wolski am 9 Jun. 2011
Please provide a small set of sample data.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by