Manually Xtick control by edit field
显示 更早的评论
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
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Title 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!