<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 1 Aug 2010, at 02:09, Robert Thompson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello fellow yt users!<div><br></div><div>I'm new at yt and have been working through the cookbook for a few days now. So far I've got 2 issues that I cannot resolve. I'm trying to make Phase diagrams (using time_series_phase.py form the cookbook), and I'm getting the following error on the SDSC cluster Triton (who's environment & installations were set up by Matt Turk):</div></div></blockquote><div><br></div><div>[snip]</div><br><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>My second issue is that I'm not getting color bars when making multiplots through the use of multi_plot.py. Here is the script (slightly altered from the cookbook) I am using:</div><div><br></div><div><div style="font-size: 11px; ">from yt.mods import * # set up our namespace </div><div style="font-size: 11px; ">orient = 'horozontal'</div><div style="font-size: 11px; ">for i in range(0,27):</div><div style="font-size: 11px; "> fn = "RD%04i/RedshiftOutput%04i" % (i,i) # parameter file to load </div><div style="font-size: 11px; "> pf = load(fn) # load data </div><div style="font-size: 11px; "> fig, axes, colorbars = raven.get_multi_plot(3, 1, colorbar=orient, bw=4)</div><div style="font-size: 11px; "> pc = PlotCollection(pf, center=[0.5,0.5,0.5])</div><div style="font-size: 11px; "> p = pc.add_projection("Density", 0, figure=fig, axes = axes[0][0], use_colorbar\</div><div style="font-size: 11px; ">=False)</div><div style="font-size: 11px; "> pc.set_cmap("bds_highcontrast")</div><div style="font-size: 11px; "> p = pc.add_projection("Temperature", 0, figure=fig, axes=axes[0][1], use_colorb\</div><div style="font-size: 11px; ">ar=False)</div><div style="font-size: 11px; "> p = pc.add_projection("particle_density_pyx", 0, figure=fig, axes=axes[0][2], u\</div><div style="font-size: 11px; ">se_colorbar=False)</div><div style="font-size: 11px; "> for p, cax in zip(pc.plots, colorbars):</div><div style="font-size: 11px; "> cbar = cb.Colorbar(cax, p.image, orientation=orient)</div><div style="font-size: 11px; "> p.colorbar = cbar</div><div style="font-size: 11px; "> p._autoset_label()</div><div style="font-size: 11px; "> fig.savefig("%s_projection" % pf)</div></div></div></blockquote></div><br><div>Hi Robert,</div><div><br></div><div>I don't know how to solve your first problem, but I see the problem in your second issue. You misspelled 'horizontal'. So I think that'll solve your missing colorbar problem.</div><div><br></div><div>John</div></body></html>