[Matplotlib-users] Slightly larger markers?
Ilya Flyamer
flyamer at gmail.com
Sat Jan 7 07:08:33 EST 2017
Why not just provide your own size?
http://stackoverflow.com/questions/14827650/pyplot-scatter-plot-marker-size
2017-01-07 15:01 GMT+03:00 Skip Montanaro <skip.montanaro at gmail.com>:
> Matplotlib seems to support two sizes of default markers, "much too
> small" or "much too big." Nothing I tried from the table on this page
>
> http://matplotlib.org/api/markers_api.html
>
> was in the Goldilocks zone. :-)
>
> This example:
>
> http://matplotlib.org/examples/lines_bars_and_
> markers/marker_reference.html
>
> suggests the "." marker should be more reasonably sized, but it's
> still pretty darn big. By my crude estimates, the comma marker is a
> single pixel, while the dot marker is a circle with diameter five
> pixels. Am I missing something predefined which has a size in between
> the comma and dot markers, maybe just a square marker with side length
> two pixels?
>
> I see that you can create custom markers. I suspect this will work
> (though be a bit clunky). I'm not finding many examples, however, so
> far just this marker_path example:
>
> http://matplotlib.org/examples/pylab_examples/marker_path.html
>
> The target is a command line plotting tool, so I'll probably have to
> provide a way for users to map between marker characters and pickled
> markers.
>
> Thx,
>
> Skip Montanaro
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20170107/d9a5ee5b/attachment.html>
More information about the Matplotlib-users
mailing list