stackedplot without yticklabels?

6 views (last 30 days)
Roberto Osorio
Roberto Osorio on 12 Nov 2019
Answered: Adam Danz on 19 Nov 2020
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?

Answers (2)

Adam Danz
Adam Danz on 19 Nov 2020
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 on 13 Nov 2019
No. stackedplot is missing a lot of common property controls. Hopefully they continue to develop this function in future releases.

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!