フィルターのクリア

Setting plot zoom mode?

12 ビュー (過去 30 日間)
Jared
Jared 2011 年 10 月 15 日
If you right click on a plot and go to zoom mode, it is defaulted to unconstrained zoom, with horizontal and vertical as choices. Is there any way to change this default?

採用された回答

Wayne King
Wayne King 2011 年 10 月 15 日
You can set the behavior through the zoom command. See the help. For example, to zoom just in the horizontal direction.
plot(randn(100,1));
h = zoom;
set(h,'Motion','horizontal','Enable','on');
  1 件のコメント
Jan
Jan 2011 年 10 月 15 日
Of for a specific axes:
setAxesZoomMotion(ZoomH, AxesH, 'horizontal')

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by