<br><br>On Monday, October 13, 2014, Junhwan Choi (최준환) <<a href="mailto:choi.junhwan@gmail.com">choi.junhwan@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi yt user,<br>
<br>
I have very simple question.<br>
In older version of yt, there was comoving length unit such as mpccm.<br>
So that I can make visualization in following way:<br>
>pc = yt.ProjectionPlot(pf, "x", "Dark_Matter_Density", width = (4.0, 'mpccm'),center=cen_center)<br>
But, after I update the latest version, the plots made by this command<br>
give me very strange output.<br>
Instead, I use following command:<br>
pc = yt.ProjectionPlot(pf, "x", "Dark_Matter_Density", center=cen_center)<br>
It gives me correct output.<br>
Is "width = (4.0, 'mpccm')" keyword changed in new yt?</blockquote><div><br></div><div>What happens if you do "width=(4.0, 'Mpccm')"? </div><div><br></div>The new unit system in yt 3.0 parses "mpc" as 10^-3 parsec<span></span>.<br><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thank you in advance,<br>
Junhwan<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'yt-users@lists.spacepope.org')">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</blockquote>