Ah, that's why I didn't understand. There is no marker. You can think of the ParticleProjectionPlot as a way to visualize a 2D histogram. Rather than drawing a shape where a particle is, it identifies the pixel in an image where the particles projected position overlaps and colors in that pixel. There are two ways to make the marker generated by an individual particle bigger. One would be to make the resolution of the image lower: https://gist.github.com/ngoldbaum/7efdb43be7749260169bb6d12a8edd75 (the "marker" is square because it's just filling in a pixel) Another would be to draw markers using a plot annotation, in particular the particle callback. Unfortunately doing that right now requires a change to the yt codebase, which I've proposed as a pull request here: https://github.com/yt-project/yt/pull/1765 See the notebook I link to in the pull request description for a usage example. On Tue, Apr 24, 2018 at 2:49 PM, Stephanie Ho <stephaniehkho@gmail.com> wrote:
Hi Nathan,
With particle projection plots, each particle is represented by a dot on the plot. Is there a way to increase that size of those dots? (When there are not a lot of particles, the original dot size make it hard to see the distribution of these particles.)
Thanks, Stephanie
On Tue, Apr 24, 2018 at 12:45 PM, Nathan Goldbaum <nathan12343@gmail.com> wrote:
Sorry, can you clarify what you are trying to customize? What marker?
On Tue, Apr 24, 2018 at 2:43 PM, Stephanie Ho <stephaniehkho@gmail.com> wrote:
Hi,
For particle projection plots, is there a way to increase the marker size? I am sorry if I overlooked, but I don't seem to see a relevant keyword for marker size under ParticleProjectionPlot (documentation: http://yt-project.org/doc/reference/api/yt.visualization.par ticle_plots.html#yt.visualization.particle_plots.ParticleProjectionPlot)
Thanks, Stephanie _______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org
_______________________________________________ yt-users mailing list -- yt-users@python.org To unsubscribe send an email to yt-users-leave@python.org