Borrar filtros
Borrar filtros

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

5 visualizaciones (últimos 30 días)
SungMi Jo
SungMi Jo el 4 de Jun. de 2018
Respondida: Varun Garg el 4 de Jun. de 2018
How can I zoom in on the scatter plot? (Classification Learner)

Respuestas (1)

Varun Garg
Varun Garg el 4 de Jun. de 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!

Translated by