Page 1 of 1

Inconvenient labels position in stackplot

Posted: Thu Jan 18, 2018 5:52 am
by katarkon
Changing of step parameter in stackplot function from 1 leads to squizing of the axis with labels. Their position does not corresponds to the spectra more. This makes labeling feature almost useless. The pictures illustrate the problem in detail.

Re: Inconvenient labels position in stackplot

Posted: Thu Jan 18, 2018 10:52 am
by Stefan Stoll
I agree, stackplot is not useful in this case. This calls for a complete redesign of the function, including various scaling, alignment, and labeling options. We will open an issue and work on it. Thanks for the observation.

Re: Inconvenient labels position in stackplot

Posted: Sat Feb 13, 2021 12:22 pm
by HarryD95

x/y labels and their range/step size can be manually specified using the set function:

Code: Select all

 figure
 set(gca,'XTick',3395:10:3475,'YTick',[0.5:1:5.5]);