Hi Christine,<br />
It looks like you're setting the limits using the exponent operator. I think what you want is<br />
<br />
pc.set_zlim(1.0e-2, 1.0e5)<br />
pc.set_xlim(1.0e-30, 5.0e-19)<br />
pc.set_ylim(10.0, 1.0e7)<br />
<br />
1.0e-2 is equivalent to 1.0 * 10^-2, which I think is what you're trying to do. Right now, yt is trying to set the zlim to be qual, and the min for the other two limits to be larger than the max, which could be causing it to go crazy.<br />
<br />
Hope this helps!<br />
<br />
--Greg<br />
<br />
Quoting Christine Simpson <csimpson@astro.columbia.edu>:<br />
<br />
> Hi all,<br />
><br />
> I'm trying to make some phase plots and specify the x axis limits, the y<br />
> axis limits and the color bar limits.  I've tried this:<br />
><br />
> pc.add_phase_sphere(r200[j],'kpc',["Density","Temperature","CellMassMsun"],weight=None)<br />
> pc.set_zlim(1.0**-2,1.0**5)<br />
> pc.set_xlim(1.0**-30,5.0**-19)<br />
> pc.set_ylim(10.0,1.0**7)<br />
><br />
> It sets the limits to some random values and I get an empty plot.  I<br />
> thought there was some 'redraw' callback that I could try and I tried<br />
> 'pc.redraw()' and 'pc.redraw_image()', but I guess 'redraw' can only be<br />
> used with interactive plot collections?<br />
><br />
> Christine<br />
><br />
> _______________________________________________<br />
> yt-users mailing list<br />
> yt-users@lists.spacepope.org<br />
> <a target="_blank" href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br />
><br />