Good morning everyone,<br><br>I was wondering how to add colorbars and text labels (e.g. with the time) to images produced through volume rendering. I am unsure of how to adapt all the usual techniques I know for projections etc. gievn the different technique for drawing the images. I am using a constant colorbar so if anyone can suggest a post-processing way of adding to created images that would work too!<br>
<br>I am using the following to create my volume rendered images:<br> for i, snapshot in enumerate(cam.rotation(2.*na.pi, n_angles)):<br> print " drawing: dump =", numb, "angle =", i, "shot=",shott<br>
if cam._mpi_get_rank() == 0:<br> write_bitmap(snapshot, frame_template % (sys.argv[-1],shott))<br> pl.draw()<br> shott = shott+1<br><br>Many thanks,<br><br>Libby <br clear="all"><br>
-- <br>Elizabeth Harper-Clark MA MSci<br>PhD Candidate, Canadian Institute for Theoretical Astrophysics, UofT<br>Sciences and Engineering Coordinator, Teaching Assistants' Training Program, UofT<br><br><a href="http://www.astro.utoronto.ca/%7Eh-clark" target="_blank">www.astro.utoronto.ca/~h-clark</a><br>
<a href="mailto:h-clark@cita.utoronto.ca" target="_blank">h-clark@cita.utoronto.ca</a><br>Astronomy office phone: +1-416-978-5759<br>