[yt-users] question about transfer function colorbar

Michael Zingale michael.zingale at stonybrook.edu
Wed May 7 19:17:03 PDT 2014


I'm trying to show the transfer function on a volume render.  Plotting a
velocity component, I set the transfer function with 4 Gaussians all with
the same width.  The range of the transfer function is -1.e7 to 1.e7, but
for some reason, when output, the upper label in the colorbar is not 1.e7
but a bit lower (9.92e6).  I am not sure where the code is that draws this,
and I am confused why it is not setting the tick at 1.e7. It gets the
bottom tick right.
Here's an image:

http://bender.astro.sunysb.edu/random/test_0000.png

and the script:

http://bender.astro.sunysb.edu/random/vol_rotate.py

any pointers are appreciated.

Mike
-- 
Michael Zingale
Associate Professor

Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY
11794-3800
*phone*:  631-632-8225
*e-mail*: Michael.Zingale at stonybrook.edu
*web*: http://www.astro.sunysb.edu/mzingale
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140507/c68fefb4/attachment.htm>


More information about the yt-users mailing list