2

I have four lists of points, in my scenario they are very close to each other so I generate them by:

 list[1] = {{10, 20}, {400, 500}, {450, 602}, {580, 700}, {700, 
830}, {810, 920}}

 For[i = 2, i <= 4, i++,

  list[i] = list[1] + Table[{RandomReal[{-30, 30}], 0}, {i, 1, 6}]
    ]

Now when I listplot, I want the pointsize large so I do so in the plotstyle option:

ListPlot[Table[list[i], {i, 1, 4}], PlotStyle -> {PointSize[0.02]}, 
AspectRatio -> 1, ImageSize -> 500]

And everything comes out fine. However if I add the plotmarker option, either before or after the plotstyle option, it reduces the pointsize back to standard:

ListPlot[Table[list[i], {i, 1, 4}],PlotMarkers->Automatic, PlotStyle -> {PointSize[0.02]}, 
AspectRatio -> 1, ImageSize -> 500]

Anyone know why that happens? Thanks!

Mike
  • 585
  • 3
  • 14
  • I am not sure but is it because PlotMakers is an inset to Graphics?http://mathematica.stackexchange.com/questions/20399/specifying-the-size-of-open-circle-plotmarkers-in-listplot – zhk Feb 23 '17 at 21:23
  • 2
    @MMM the default PlotMarkers are actually font glyphs - so in your answer you are (I believe) specifying a font size for them. That's why most of the answers on here about PlotMarkers say to use an actual graphics primitive instead. – Jason B. Feb 23 '17 at 22:20
  • @JasonB. I see, that clears it up thanks! – Mike Feb 23 '17 at 22:41

1 Answers1

2

Comment

I don't know why it happens but you can adjust the size inside PlotMakers

 ListPlot[Table[list[i], {i, 1, 4}], PlotMarkers -> {Automatic, 100}, 
 PlotStyle -> {Red, Green, Blue}, AspectRatio -> 1, ImageSize -> 500]
zhk
  • 11,939
  • 1
  • 22
  • 38