Dots in plot are either too big or too small.

I'm trying to control the dot size in the plot command, but there seems to be only a few sizes available with the standard figure window.
If you use plot(x,y,'.','MarkerSize',sz) then for sz<6 the dots are tiny (probably 1x1 pixel) and for sz>=6 they are quite large.
If you output as an eps/pdf then the dot size is fine - no nasty size jumps.
Is there a way to get the matlab figure window to correctly reflect the marker size?

 Accepted Answer

Mischa Kim
Mischa Kim on 28 Feb 2014
Edited: Mischa Kim on 28 Feb 2014
Matthew, you might want to try a different marker, such as o or * .
plot(x,y,'o','MarkerSize',sz)
For some of these you can also define a MarkerFaceColor.

1 Comment

Thanks - I just figured the same thing out and was about to answer my own question!!

Sign in to comment.

More Answers (0)

Categories

Asked:

on 28 Feb 2014

Commented:

on 28 Feb 2014

Community Treasure Hunt

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

Start Hunting!