Manually Xtick control by edit field
Mostrar comentarios más antiguos
I want to manually control the x step size (xticks).
there is a edit field which determines the x step size:
xstep1=str2double(get(handles.xstep1,'String'));
this is what i have now
if ~isnan(xstep1)
xbounds = xlim;
set(gca,'XTick',xbounds(1):xstep1:xbounds(2));
end
hope it helps someone
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Title en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!