how can i rescale ths axes of 2-D graph so the x-axis and the y-axis coordinates are: -4,-2,0,2,4?
1 次查看(过去 30 天)
显示 更早的评论
thanks.
2 个评论
回答(1 个)
Muruganandham Subramanian
2012-12-10
Are you expecting this:
figure;
xlim([-4 4])
ylim([-4 4])
2 个评论
Muruganandham Subramanian
2012-12-10
编辑:Muruganandham Subramanian
2012-12-10
then goto Edit -> Axes Properties -> then select X axis then click More Properties in Axis Rulers -> Xtick delete data(i.e. -3 -1 1 3). Repeat the same from instead of X axis, Use Y axis
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!