Problem rotating surf plots
2 ビュー (過去 30 日間)
古いコメントを表示
The following produces our favorite surf plot
[X,Y,Z] = peaks(25);
surf(X,Y,Z);
I can rotate the figure with the rotate3D mouse function. Then, when I add EITHER
set(gca, 'XLim',[0 4])
OR
set(gca, 'XScale', 'log')
everything still rotates fine. But when I add BOTH lines to the code, the figure can no longer be rotated. Any ideas?
0 件のコメント
回答 (1 件)
Star Strider
2015 年 5 月 9 日
You can still change it using the view function, although not interactively.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!