After zooming you should retreive the bounding box of your plot and
redraw the ticks.
a = gca();
a.data_bounds; % Array of the bounding rectangle coordinates.
% Xmin : a.data_bounds(1)
% Xmax : a.data_bounds(2)
% Ymin : a.data_bounds(3)
% Ymax : a.data_bounds(4)
I hope this helps :-) even if it's a late response,
Red.
On Oct 13, 12:54 pm, Francis <f.drossa...@googlemail.com> wrote:
> I need to create graphs where the x-tick labels are not linear. I can
> change them by using ahdl.x_ticks = tlist
> (["ticks","locations","labels"],[xtickloc],[xticklab]); normally I
> simply divide the range in 51 xtick-location and establish the
> corresponding xtick label from a large vector equal to the size of the
> plotted data. However since values are fixed, after zooming using thezoombutton in the range is not longer divided in 50 sections.