Moving the labels of the z axis to the back of the 3D graph

10 ビュー (過去 30 日間)
Snoopy
Snoopy 2018 年 9 月 25 日
コメント済み: Katharina 2020 年 9 月 26 日
In a 3D plot such as the one produced by scatter3, the labels of the z axis are displayed on the left of the plot. Is there a way to have the labels on the z axis at the back side of the plot? I want to show the students the origin of the 3D plot and the default view of 3D plots where the labels are shown on the left is giving me a hard time.

採用された回答

jonas
jonas 2018 年 9 月 25 日
編集済み: jonas 2018 年 9 月 25 日
It's an undocumented feature
The XRuler property is called XAxis in later releases. Something like this should work:
hAxis=axes;
scatter3(1,1,1)
hAxis.ZAxis.FirstCrossoverValue = hAxis.XLim(2);
hAxis.ZAxis.SecondCrossoverValue = hAxis.XLim(2);

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by