MATLAB Answers

0

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

Asked by SungMi Jo on 4 Jun 2018
Latest activity Answered by Varun Garg on 4 Jun 2018
How can I zoom in on the scatter plot? (Classification Learner)

  1 Comment

There will be a sign for zooming.....it is not there?

Sign in to comment.

1 Answer

Answer by 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 .

  0 Comments

Sign in to comment.