How do I add 2 Y axis to my MATLAB Plot?

I have now successfully managed to add a 2D plot along with a surface plot. See image below -
Now my problem is that the range of the 2D plot is so high that the 3D plot is shrunk to look like nothing more than a plane on the ceiling. It is supposed to have variations like the figure in the question I have lined above.
How do I provide a different Y axis for the 2D plot so that the 3D plot is not shrunk like it is here.

답변 (1개)

Babak
Babak 2013년 5월 1일

0 개 추천

Look up
plotyy()
in the documentation.

댓글 수: 1

Bharath Lohray
Bharath Lohray 2013년 5월 1일
As I understand plotyy(), it is meant for 2D plots only and not for 3D plots.

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

카테고리

도움말 센터File Exchange에서 Two y-axis에 대해 자세히 알아보기

제품

질문:

2013년 5월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by