Hi John,<br><br>I don't know if there's a better way, but I usually do this by overriding the default in my script before making my plot, like so:<br><br><div style="text-align:left;margin-left:40px">pf.field_info["density"].take_log=False<br>
</div>           pc = PlotCollection(pf)<br>           p = pc.add_ray([pf.domain_left_edge[0],0,0], [pf.domain_right_edge[0],0,0], "density")<br>           etc...<br><br>-Andrew Myers<br><br><div class="gmail_quote">
On Tue, Jan 17, 2012 at 3:58 PM, John ZuHone <span dir="ltr"><<a href="mailto:jzuhone@milkyway.gsfc.nasa.gov">jzuhone@milkyway.gsfc.nasa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
A rather simple question that I should probably already know the answer to, but here goes:<br>
<br>
Many fields are logged by default, which is as it should be. However, sometimes the range of the variable is not very large and a log plot just doesn't make a lot of sense.<br>
<br>
In a slice or a projection plot in a PlotCollection, how does one suppress (or, in the opposite case, enable) the logging of the plotted variable before saving or displaying the plot?<br>
<br>
I'm hoping there's a semi-easy way to do this without setting take_log in the field definition, but I've not come across it  yet.<br>
<br>
Best,<br>
<br>
John<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" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</blockquote></div><br>