adjusting figure view of scatter function

x =[4183603.819;4194284.645;4206946.213;4206978.280;4207309.760;4207495.910;4207527.086;4207362.394;4206891.650;4206754.600;4194306.199;4182668.360];
y=
[394217.243;399676.110;394535.760;394498.096;394476.263;394262.606;394478.804;394596.1560;394645.067;394727.930;399698.857;399587.855];
ids=[{'a1'};{'a2'};{'a3'};{'a4'};{'a5'};{'a6'};{'a7'};{'a8'};{'a9'};{'a10'};{'a11'};{'a12'}];
figure(1),scatter(y, x, 'b^');grid off;
text(y, x, ids);
title('NOKTALAR')
xlabel('Y')
ylabel('X')
line(y,x,'Color','k','LineWidth',1)
%In figure, points don't seem clearly, some points are very close to each other while some points are far away to each other. Is there any way to scale this figure to view more clearly and easily. I need to view whole points as a more compact way.

1 Comment

Sermet - given the "spread" of your data, you may need to show separate figures for zoomed in areas of your plot.

Answers (0)

This question is closed.

Asked:

on 14 Feb 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!