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?

 採用された回答

Mischa Kim
Mischa Kim 2014 年 2 月 28 日
編集済み: Mischa Kim 2014 年 2 月 28 日

0 投票

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 件のコメント

Matthew
Matthew 2014 年 2 月 28 日
Thanks - I just figured the same thing out and was about to answer my own question!!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLine Plots についてさらに検索

質問済み:

2014 年 2 月 28 日

コメント済み:

2014 年 2 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by