<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I don't think I can +1 this hard enough.</div><div><br></div><div>It would also be great if I could get a similar plot without touching the interactive camera.</div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Nathan Goldbaum<br>Graduate Student<br>Astronomy & Astrophysics, UCSC<br><a href="mailto:goldbaum@ucolick.org">goldbaum@ucolick.org</a><br>http://www.ucolick.org/~goldbaum</div></span></div></span></div></span></span>
</div>
<br><div><div>On Jun 8, 2012, at 2:06 PM, Sam Skillman wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Okay, I've prototyped something that works like this:<div><br></div><div>interactive_camera.snapshot()</div><div>...pops up interactive matplotlib window...</div><div>interactive_camera.save('test.png')</div><div>

...grabs all needed information and makes this...</div><div><br></div><div><span><image.png></span><br></div><div><br></div><div>+/- 1?  It just needs some cleanup, like reducing the extent of the colorbar so you don't get the black strip at the top and bottom of the image.</div>

<div><br></div><div>Sam</div><div><br><div class="gmail_quote">On Fri, Jun 8, 2012 at 2:12 PM, Richard P Wagner <span dir="ltr"><<a href="mailto:rpwagner@sdsc.edu" target="_blank">rpwagner@sdsc.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
<br>
<div><div class="im">
<div>On Jun 8, 2012, at 12:40 PM, Nathan Goldbaum wrote:</div>
<br>
<blockquote type="cite">
<div style="word-wrap:break-word">
<div>I'd prefer it if the transfer function plot were split into two separate frames.  Right now, it's easy to think that the black background color image contains opacity information since the frame is plotted with a y axis.  I'd prefer it if only the white
 line was plotted with a y axis and the black background image was plotted in a separate frame like a color bar with no y axis.  This would also let the user see the tick marks for the opacity plot much more easily.</div>


<div><br>
</div>
<div>In general, I like plotting the transfer function like a color bar (sort of like Stella Offner's image on the yt homepage [<a href="http://yt-project.org/img/offner_etal.png" target="_blank">http://yt-project.org/img/offner_etal.png</a>]).</div>


</div>
</blockquote>
<div><br>
</div>
</div><div>That's what came to mind when I was reading this. For a while, we've been putting a combination color bar-transfer function graphic in our renderings with ANL (skip about 30 seconds into <a href="http://www.youtube.com/watch?v=5dOt0IaRY4U" target="_blank">http://www.youtube.com/watch?v=5dOt0IaRY4U</a>).
 I think it's very natural to overlay a transfer function plot onto a color bar, and it provides a lot of information in a simple fashion.</div>
<div><br>
</div>
<div>--Rick </div><div class="im">
<br>
<blockquote type="cite">
<div style="word-wrap:break-word">
<br>
<div>
<div style="word-wrap:break-word">
<div style="word-wrap:break-word">
<span style="border-collapse:separate;font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div style="word-wrap:break-word">
Nathan Goldbaum<br>
Graduate Student<br>
Astronomy & Astrophysics, UCSC<br>
<a href="mailto:goldbaum@ucolick.org" target="_blank">goldbaum@ucolick.org</a><br>
<a href="http://www.ucolick.org/~goldbaum" target="_blank">http://www.ucolick.org/~goldbaum</a></div>
</span></div>
</div>
</div>
<br>
<div>
<div>On Jun 8, 2012, at 12:34 PM, Sam Skillman wrote:</div>
<br>
<blockquote type="cite">
<div>Hi all,</div>
<div><br>
</div>
<div>I've been experimenting with different ways to plot the transfer functions, and in particular in the context of the InteractiveCamera.  </div>
<div><br>
</div>
<div>What are people's thoughts about this behavior:</div>
<div><br>
</div>
<div><a href="http://i.imgur.com/CGZ7Z.png" target="_blank">http://i.imgur.com/CGZ7Z.png</a></div>
<div><a href="http://i.imgur.com/OCsVt.jpg" target="_blank">http://i.imgur.com/OCsVt.jpg</a></div>
<a href="http://i.imgur.com/VNEse.png" target="_blank">http://i.imgur.com/VNEse.png</a>
<div><br>
</div>
<div>
<div>btw, you can get this behavior by changing your script to call pf.h.interactive_camera, and then running in ipython with a working matplotlib backend.</div>
</div>
<div><br>
</div>
<div>I'll let Nathan bring up his concerns rather than me try to convey them.</div>
<div><br>
</div>
<div>Sam</div>
<div>
<div><br>
</div>
<div><br>
</div>
</div>
<div><br>
</div>
 _______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org" target="_blank">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
<br>
<br>
!DSPAM:10175,4fd253db101042955315835!<br>
</blockquote>
</div>
<br>
</div>
_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org" target="_blank">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
</blockquote>
</div></div>
<br>
</div>

<br>_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
<br></blockquote></div><br></div>


!DSPAM:10175,4fd2698c154231999731220!
_______________________________________________<br>yt-dev mailing list<br><a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org<br><br><br>!DSPAM:10175,4fd2698c154231999731220!<br></blockquote></div><br></body></html>