필터 지우기
필터 지우기

Problem rotating surf plots

조회 수: 1 (최근 30일)
Rainer
Rainer 2015년 5월 9일
답변: Star Strider 2015년 5월 9일
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?

답변 (1개)

Star Strider
Star Strider 2015년 5월 9일
You can still change it using the view function, although not interactively.

카테고리

Help CenterFile Exchange에서 Graphics Object Properties에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by