Manually Xtick control by edit field
Mostra commenti meno recenti
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
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Title in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!