Great, that doesn't look too bad at all. Thanks!
On Mon, Jul 20, 2009 at 8:01 PM, Matthew Turk<matthewturk(a)gmail.com> wrote:
Yes, there is. Jeff Oishi might be able to chime in with a bit more,
but setting up a multi-plot is included with yt. Right now the
colorbars are a bit tricky; however, with the next proper release of
Matplotlib (including a new axes_grid toolkit by Jae-Joon Lee which
will simplify this all dramatically) this will be expanded and made
better. Additionally, we have to play a few games here because the
current yt mechanism for updating plots is to wipe the axes;
newer-than-1.5 will be using a data replacement mechanism. In short,
this will get better, but right now it needs kid gloves.
Here's my current sketch of the script, which I have tried to comment
quite a bit, because -- as I mentioned above -- it's still mildly
cumbersome to do this. (Although, looking back, it's still not that
many lines of code, so I guess it's not so bad.) You can download a
raw version of the script by clicking 'raw' at the top.
Alternatively, clone the hg repository (and contribute some cookbook
recipes of your own!)
You can replace the hash with 'tip' to get the latest version.
Hope that helps! This is part of the newly-expanding cookbook of yt
scripts. By the end of the week this cookbook should be expanded
quite a bit, as we're currently running through an Enzo+yt tutorial at
the Princeton workshop, and I'm adding to it as we go.
I've attached a sample image I made with this script.
On Mon, Jul 20, 2009 at 8:00 PM, david collins<antpuncher(a)gmail.com> wrote:
> Hi, All--
> Is there a straight forward, or not so straight forward, way to plot
> projection/slice of two quantities side by side?
> yt-users mailing list
yt-users mailing list