Mesh 3-D plot axes position
2 次查看(过去 30 天)
显示 更早的评论
with reference to attached figure,i want to set x,y,z axis exactly the same as in attached file.Conventionally, 3D mesh set the axes in its default setting way.Looking for answer.Thanks

0 个评论
回答(2 个)
Star Strider
2018-12-29
2 个评论
Star Strider
2018-12-30
First, what you want to do it is not clear, and ‘it does not work’ gives us no useful information.
Second, if your code is already creating the plot in the image you posted, you can use the view function to return the azimuth and elevation for it. You can then use those values for the plot you want to create. Otherwise, you can use the figure GUI to rotate the plot you want to adjust to the orientation you want. The azimuth and elevation will be displayed in the lower left corner as you rotate it, so you can use those values as arguments to the view function in your code. You may have to experiment with the view arguments to get the result you want.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!