<div dir="ltr">FWIW, you should still be able to use to_frb() and imshow() in the latest versions of yt.<div><br></div><div>For the specific case of ProjectionPlot, something like this should work:</div><div><br></div><div><a href="http://nbviewer.ipython.org/gist/anonymous/bce4d1b5f77f52d5206e">http://nbviewer.ipython.org/gist/anonymous/bce4d1b5f77f52d5206e</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 29, 2015 at 5:23 PM, Guido granda muñoz <span dir="ltr"><<a href="mailto:guidogranda@gmail.com" target="_blank">guidogranda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello,<br><br></div>I'm wondering how can I get the color bar limits of a projection plot in the new yt version, I managed to do it in the old 2.5 version in this way:<br><br>**********************************************************************<br clear="all"><div><div>  fn        =data[i]<br>  title     =titles[i]<br>  pro       =fn.h.proj(axis,field,center=fn.domain_center)<br>  proj      =fn.h.proj(0,field,weight_field=field,center=fn.domain_center)<br>  pro_frb   =pro.to_frb((25./h, "Mpc"), 2000)<br>  axs1[i]   =plt.subplot(2,2,i+1)<br>  Image=axs1[i].imshow(pro_frb[field],origin='lower',norm=LogNorm(),extent=(-12.5/h,12.5/h,-12.5/h,12.5/h))<br>  vmin_0,vmax_0 = Image.get_clim()<br>***********************************************************************<br><br></div><div>I tried to find out something similar with the new yt.ProjectionPlot( ) without success, Could you please help me?<br><br></div><div>Kind Regards,<span class="HOEnZb"><font color="#888888"><br><br> <br></font></span></div><span class="HOEnZb"><font color="#888888"><div>-- <br><div>Guido</div>
</div></font></span></div></div>
<br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>