PLOT in MATLAB
Show older comments
The x-axis of a particular graph is from 0 to 100 whereas the y axis is from 0 to 3.5. I want to zoom a particular portion of the x-axis say from 0 to 20 and plot it in the top right corner of the same graph. How do I do it?
3 Comments
subho
on 22 Oct 2011
Grzegorz Knor
on 22 Oct 2011
I still don't understand. Could you upload an image which will help my understand it.
Image Analyst
on 22 Oct 2011
I don't understand why his suggestion of xlim() doesn't do what you want. Are you perhaps looking for the user to somehow interactively draw a box around the part of the graph that they want to zoom in on?
Accepted Answer
More Answers (0)
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!