<div dir="ltr">Is there any updated examples for using the yt 3.0 volume rendering?<div><br></div><div>For instance, looking at this:</div><div><br></div><div><a href="http://yt-project.org/docs/dev/cookbook/simple_plots.html#simple-volume-rendering">http://yt-project.org/docs/dev/cookbook/simple_plots.html#simple-volume-rendering</a></div>
<div><br></div><div>The field name is no longer simply "Density", but now, for my data, I need to use a tuple like: </div><div><br></div><div><div><div>field =  ('boxlib', 'magvel')</div></div><div>
<br></div><div>And then when I look at the extrema, I no longer take the [0] index, as that just gives the min, but instead if I look at:</div><div><br></div><div>dd.quantities["Extrema"](field)<br></div><div><div>
<br></div><div>I get:</div><div><br></div><div>(124.858613718 dimensionless, 18061918.0546 dimensionless)</div></div><div><br></div><div>(not sure why they are dimensionless, but that's a different problem).</div><div>
<br></div><div>Finally, if I try to make a transfer function, like:</div><div><div><br></div><div>tf = ColorTransferFunction((mi, ma))</div></div><div><br></div><div>I get:</div><div><br></div><div>NameError: name 'ColorTransferFunction' is not defined<br>
</div><div><br></div><div>I just synced up with the development version today.</div><div><br></div><div>Mike</div><div><br></div><div><br></div><div><br></div><div><br></div>-- <br><div>Michael Zingale</div><div>Associate Professor</div>
<div><br></div><div>Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800</div><div><i>phone</i>:  631-632-8225</div><div><i>e-mail</i>: <a href="mailto:Michael.Zingale@stonybrook.edu" target="_blank">Michael.Zingale@stonybrook.edu</a></div>
<div><i>web</i>: <a href="http://www.astro.sunysb.edu/mzingale" target="_blank">http://www.astro.sunysb.edu/mzingale</a></div>
</div></div>