バージョン 1.4 (4.25 KB) 作成者: Ulrich Reif
Three extra buttons make a big difference in usability.
ダウンロード: 132
更新 2019/3/31


The cameratoolbar is an indispensable tool for investigating 3d data. However, after zooming in, moves of the camera typically become pointless as the region of interest quickly gets out of sight. The BetterCameraToolbar provides three extra buttons to settle this problem and to further enhance usability:

The first button admits to select a new camera target on the surface by simply clicking on it. This point is now at the center of the figure window and stays there no matter how you orbit or roll the camera. Thus, the region around the selected point can be explored conveniently.

The second button provides an axes marker attached to the camera target showing the coordinate directions. This helps greatly to stay oriented, in particular in the case of close-ups, when plot box boundaries are not visible.

The third button offers a change of the perspective effect in your 3d scenery. To this end, the camera distance and the zoom factor are modified simultaneously such that objects in the projection plane keep their size.


Ulrich Reif (2024). BetterCameraToolbar (, MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2018a
Windows macOS Linux
Help Center および MATLAB AnswersCamera Views についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート

Fixed problem with 2d plots.
Fixed problem with axes marker size.


New option DEFAULT, replacing the standard cameratoolbar in the VIEW menu in all current and future figures.


Clicking into background restores default camera target.


No more error message when clicking target into nowhere.
Stop perspective warp when mouse outside window.