Change axes x in stackedplot

4 ビュー (過去 30 日間)
Guilherme Lopes de Campos
Guilherme Lopes de Campos 2020 年 6 月 29 日
コメント済み: dpb 2020 年 6 月 30 日
Hi!
I would like to ask help to modify axes x in the stackedplot below. There are 360 observations, the objetive is that each 12 observation represents a year, from 1990 to 2019.
How I can do this?
Thank you very much!

採用された回答

dpb
dpb 2020 年 6 月 29 日
See yesterday's news...<how-can-i-change-the-pspectrum-time-units> and, while it doesn't look related from the title, it's got the way to do whatever you wish with the axes <heatmap-axis-labels-printing-vertically>.
The stackedplot uses the same form of the graphics object as does heatmap; the Axes object is the last element of the hidden NodeChildren property (altho there are only two items in the array, not three).
Follow the examples there to retrieve that handle and go from there...
  2 件のコメント
Guilherme Lopes de Campos
Guilherme Lopes de Campos 2020 年 6 月 30 日
Dear dpb,
Thank you very much for help me,
I achieved modify the axes,
Yours faithfully,
dpb
dpb 2020 年 6 月 30 日
Yair Altman posted a little quicker/more direct route which is to cast the handle from the object to a struct--see his follow up comment on the HEATMAP printing anomaly link above.

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

その他の回答 (0 件)

カテゴリ

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

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by