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

2 次查看(过去 30 天)
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
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Two y-axis 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by