[yt-users] multiplot with multiple datasets
chris.m.malone at gmail.com
chris.m.malone at gmail.com
Sun Mar 20 16:47:22 PDT 2011
Hi Jean-Claude,
Some of the recipes in the Cookbook are a bit outdated - for example,
module names like "raven" have been replaced with more meaningful names.
Actually, now the get_multi_plot() method lives in the plot_collection
module, which is automatically loaded into the namespace when you `from
yt.mods import *`. In other words, change the `raven.get_mult_plot(...)` to
just `get_multi_plot(...)` and it should work ok, although I haven't tested
this.
Chris
On Mar 20, 2011 7:27pm, Jean-Claude Passy <jcpassy at gmail.com> wrote:
> Hi all,
> I would like to create a multi plot equivalent to the procedure
> described in the Cookbook (Multi plot 3x2) BUT with
> different datasets (1 slice for 1 dataset).
> The first issue I am encountering is that the module raven is not
> detected:
> #############################################################
> Traceback (most recent call last):
> File "/rpod2/jcpassy/Enzo/python/MultiPlot.py", line 20,
> in
> fig, axes, colorbars = raven.get_multi_plot( 2, 4,
> colorbar=orient, bw = 4)
> NameError: name 'raven' is not defined
> #############################################################
> Then, is there a specific description somewhere of how to do a multi
> plot with different datasets ?
> Thanks a lot for your help,
> JC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20110320/03a34a6f/attachment.htm>
More information about the yt-users
mailing list