フィルターのクリア

XTickLabels after the zooming

2 ビュー (過去 30 日間)
Mtlb Usr
Mtlb Usr 2011 年 3 月 22 日
Hi,
I would like to know how I can set the new xticklabels in a 2D graphic after the zooming. But, I want to delete the previous xticklabels too. The xticklabels are rotated.
I think that the issue could be when I use the zoom per default of matlab.
How can I do it?
thanks
regards
  4 件のコメント
Mtlb Usr
Mtlb Usr 2011 年 3 月 25 日
Yes, I'm using this.
Mtlb Usr
Mtlb Usr 2011 年 3 月 28 日
Hi,
Do you think that there is some solutions? Or If you want better I explain you the issue, by other way.
regards

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

回答 (1 件)

Daniel Sternberg
Daniel Sternberg 2011 年 4 月 13 日
If you are using custom XTickLabels (which it sounds like you are since MATLAB doesn't rotate the labels by default), the best approach is to use the "ActionPostCallback" of the zoom object. Examples of its use are available in the documentation. At the command prompt, type
doc zoom

カテゴリ

Help Center および File ExchangeGrid Lines, Tick Values, and Labels についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by