AXIS EQUAL コマンドで X, Y 軸を調整し、Z 軸だけを AUTO に調整させることができますか?
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 25 de Oct. de 2013
Respondida: MathWorks Support Team
el 25 de Oct. de 2013
BAR3 関数を使って画像データの 3 次元表示をしていますが、AXIS EQUAL で X, Y 軸を調整し、Z 軸だけを AUTO に調整させる方法を教えてください。
Respuesta aceptada
MathWorks Support Team
el 25 de Oct. de 2013
"DataAspectRatio" という座標軸のプロパティを設定すれば、AXIS EQUAL で調整したグラフのZ軸のみを調整することが可能です。下記のサンプルプログラムをご参考ください。
- サンプルプログラム:
Z=rand(3,3)*0.01;
figure,bar3(Z)
pause(2)
axis equal
pause(2)
set(gca,'DataAspectRatio',[1 1 0.01])
pause(2)
set(gca,'DataAspectRatio',[1 1 0.005])
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre 対話型コントロールとコールバック en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!