p.set_zlim('particle_mass', 1e6, 1e8)
p.set_colorbar_label('particle_mass', 'Particle mass per pixel')
On Wed, Jul 29, 2015 at 8:11 AM, Shankar Agarwal firstname.lastname@example.org wrote:
I have a few plotting questions:
In the above plot, Colorbar range is approximately Mass=10^5-10^9. When making a plot using ParticlePlot or ParticleProjectionPlot, can I manually force the range on the colorbar?
The label on the colorbar says "Particle Mass". Instead, shouldn't it be saying something like mass_per_pixel, since the plot is showing the total number of particles projected along the z-axis? How can we rename the colorbar?
Can contours of mass be added to the above plot, using annotate?
yt-users mailing list email@example.com http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org