Setting axis limits of a plot
3 次查看(过去 30 天)
显示 更早的评论
I have two sets of data, x and y which I am plotting together:
plot(x,y)
I'm having a problem setting the axis limits however. I am using the method shown in the online documentation:
axis([xmin,xmax,ymin,ymax])
Or in my case:
axis([1,1024,1,1024])
The problem is when I enter this it creates a new figure with the correct limits but with no data plotted.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!