How can I zoom in on the scatter plot? (Classification Learner)

4 views (last 30 days)
How can I zoom in on the scatter plot? (Classification Learner)

Answers (1)

Varun Garg
Varun Garg on 4 Jun 2018
Hi SungMi
I understand from your question that you have a graph which you want to zoom in on for probably better view of the points manually. MATLAB enables you this functionality via
zoom
Example snippet
x=[1,2,3,4,5];
y=[1000,2000,3000,4000,5000];
plot(x,y)
zoom on
This will enable you to manually scroll on the figure so you can zoom in/ zoom out. Hope this answers your question. You can find the related documentation here .

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!