How do I add 2 Y axis to my MATLAB Plot?
3 次查看(过去 30 天)
显示 更早的评论
I know this question has been asked before - but none of them deal with a 3D plot with 2 Y axis. My question is a continuation of - http://stackoverflow.com/questions/16309153/how-do-i-add-a-2d-plot-along-with-a-surface-or-mesh-plot-in-matlab or http://www.mathworks.com/matlabcentral/answers/74160-how-do-i-add-a-2d-plot-along-with-a-surface-or-mesh-plot-in-matlab.
I have now successfully managed to add a 2D plot along with a surface plot. See image below -
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/147533/image.png)
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.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Two y-axis 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!