[yt-users] set_zlim in phase plot
Chang-Goo Kim
cgkim at astro.princeton.edu
Thu May 8 13:15:04 PDT 2014
Hi all,
set_zlim didn't readjust colormap scale. Here's my simple code and
resulting figure. Note that I have tried to reset color scale with
set_zlim, but the range remains the same. What did I miss?
dd=pf.all_data()
ph=PhasePlot(dd,'nH','pok',['cell_mass'],weight_field=None,x_bins=64,y_bins=64,fractional=True)
ph.set_zlim('cell_mass',1.e-5,1)
ph.show()
ph.save('phaseplot.png')
http://i.imgur.com/aZ2v7XJ.png
BTW, thanks for recent update for fractional keyword. Now, the fractional
keyword gives exactly what I want.
Chang-Goo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140508/c759a411/attachment.htm>
More information about the yt-users
mailing list