Manually Xtick control by edit field
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Title finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!