3 z axes on a surface graph

조회 수: 2 (최근 30일)
Dmitriy Rivkin
Dmitriy Rivkin 2011년 6월 8일
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

답변 (1개)

Sean de Wolski
Sean de Wolski 2011년 6월 9일
figure;hold on
surf(magic(3))
surf(rand(3))
surf(ones(3))
  댓글 수: 2
Dmitriy Rivkin
Dmitriy Rivkin 2011년 6월 9일
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 2011년 6월 9일
Please provide a small set of sample data.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by