On 02/08/2017 7:10 AM, Nicolai Slaatto wrote:
...
...
> ... the resulting plot is displaying a wrong
> y-aksis! Eg.:
>
> set(gca,'yticklabel',...
> num2str(100*str2num(yt),...
> '%-1d%%') ,'Fontsize',14);
>
> It seems as if only the that part of the ytick vector, which is visible
> with the increased font size, is displayed. However, THE POSSITION of
> the ticks is now wrong! Eg. '10%' is not displayed, instead is '20%' is
> now displayed AT THE POSITION where the '0.1' ytickmark was earlier
> displayed!
>
> Is this a Matlab bug or do I oversee something here? Your comments are
> much appreciated!
> version = 8.3.0.532 (R2014a)
Seems to work as expected here with R2014b. How about a complete
(minimum) example that causes the issue? Hard to diagnose graphics
issues in isolation; you may have another interacting command that's
causing the issue in what's not shown here.
--
...
...
> ... the resulting plot is displaying a wrong
> y-aksis! Eg.:
>
> set(gca,'yticklabel',...
> num2str(100*str2num(yt),...
> '%-1d%%') ,'Fontsize',14);
>
> It seems as if only the that part of the ytick vector, which is visible
> with the increased font size, is displayed. However, THE POSSITION of
> the ticks is now wrong! Eg. '10%' is not displayed, instead is '20%' is
> now displayed AT THE POSITION where the '0.1' ytickmark was earlier
> displayed!
>
> Is this a Matlab bug or do I oversee something here? Your comments are
> much appreciated!
> version = 8.3.0.532 (R2014a)
Seems to work as expected here with R2014b. How about a complete
(minimum) example that causes the issue? Hard to diagnose graphics
issues in isolation; you may have another interacting command that's
causing the issue in what's not shown here.
--