How to surf very small values keeping the same ratio?
1 回表示 (過去 30 日間)
古いコメントを表示
I'm having a solution with very small values and I need to surf it; this is how a part of the solution looks like:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1408409/image.jpeg)
I'm also using the same aspect ratio and because the values are so small the surf looks like a 2D plot.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1408414/image.jpeg)
It should look as if I would take a pencil and a piece of paper and I would draw it. Is there any way to keep the same aspect ratio but not to look like in the figure? Thank you.
0 件のコメント
採用された回答
John D'Errico
2023 年 6 月 11 日
I THINK what you are asking is how to make the surface show there is little variation in z. I'll make up an example...
[X,Y] = meshgrid(0:5,0:6);
Z = (X+Y)*1e-3;
surf(X,Y,Z)
box on
view(-60,10)
And it looks like the surface is doing something significant, when really, it is pretty boring. I'll redo the plot, then add one extra call now.
surf(X,Y,Z)
box on
axis equal
view(-60,10)
So viewed from the same angle, now we see that one of the surfaces is pretty boring, yet the first looks as if something is happening. The difference was the "axis equal" command.
2 件のコメント
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Orange についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!