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

8 次查看(过去 30 天)
How can I zoom in on the scatter plot? (Classification Learner)

回答(1 个)

Varun Garg
Varun Garg 2018-6-4
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 .

类别

Help CenterFile Exchange 中查找有关 Data Exploration 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by