stackedplot without yticklabels?

I noticed I can't apply the yticklabel() function to a stackedplot. Isn't there a way to simply clear the yticklabels so that only the display names (ylabels) are printed, but not numbers associated with the y-ticks?

답변 (2개)

Adam Danz
Adam Danz 2020년 11월 19일

1 개 추천

See this answer for an undocumented method of change the ytick values in stackedplot.
To clear the ticks, you'll change the last line to,
set(s.Axes, 'YTick', [])
Joe Vinciguerra
Joe Vinciguerra 2019년 11월 13일

0 개 추천

No. stackedplot is missing a lot of common property controls. Hopefully they continue to develop this function in future releases.

카테고리

도움말 센터File Exchange에서 Line Plots에 대해 자세히 알아보기

제품

릴리스

R2019b

질문:

2019년 11월 12일

답변:

2020년 11월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by