Closed Horizonatpku closed 2 months ago
ParticlePhasePlot
does not use markers (as matplotlib's scatter method does) to represent individual points. Rather, it creates a buffer image (a 2D array of floats) and displays it using matplotlib's imshow method. This means that the display size of any individual particle is actually a "pixel" in that array, whose resolution is controled byx_bins
xy_bins
. Does this answer your question ?
I got it, reducing x_bins
and y_bins
can make the particle phase more 'clear'.
Thanks a lot!
Bug report
Bug summary Hi everyone,
I want to change the the particle size when using the class "ParticlePhasePlot", however, there is no such options in the class yt.visualization.particle_plots.ParticlePhasePlot
I know we can change the particle size by setting the "s=size" in matplotlib.scatter, how can we change the particle size in the class "ParticlePhasePlot",
I will be appreciate if you can give me some suggestions, thank a lot!
best wishes, Yifeng He
Code for reproduction