[yt-users] volume rendering colorbar issue
Stephanie Tonnesen
stonnes at gmail.com
Tue Aug 11 11:04:15 PDT 2015
Hi yt-users,
I am trying to make a volume rendering using
---
Version = 3.2-dev
Changeset = dc2467c4eae7 (yt) tip
---
and basically following this example:
http://bender.astro.sunysb.edu/random/vol_rotate.py
My problem is that the units are wonky on my colorbar. I input them in my
transfer function as cgs, and the peaks seem to be in the right place based
on my input range and sample values. Can I get the colorbar to present the
density values in cgs? You can see the output and the code attached.
Oh, I had to add in the line
matplotlib.use('pdf')
because I was getting a _tkinter can't find your screen error everytime I
tried to add the colorbar. I think it was a matplotlib with my computer
problem.
Thanks!
Stephanie
--
Dr. Stephanie Tonnesen
Alvin E. Nashman Postdoctoral Fellow
Carnegie Observatories, Pasadena, CA
stonnes at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150811/a0062dee/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DD44sMBhn25wyu7hdh_0175_volumeall_vertcbar_ann.png
Type: image/png
Size: 632114 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150811/a0062dee/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yt_volumerender_all.py
Type: text/x-python-script
Size: 3317 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150811/a0062dee/attachment.bin>
More information about the yt-users
mailing list