
Feb. 19, 2009
12:14 a.m.
Hi-- I'm making a bunch of plots with a greyscale colormap. When I set the zlim, things get rescaled properly, but the colors on the colorbar are rgb, not grayscale. I noticed by accident that the following works: pf = lagos.TenPCStaticOutput('/lustre/scratch/collins/128_amr/OK1/DD2030/data2030') pc = raven.PlotCollection(pf) pc.add_projection('Density',0) pc.save('rescaled_no') pc.set_zlim(1e-3,5) pc.save('rescaled_yes') because of the first 'save' feature. Removing it makes a rgb colorbar. What does save do that forces the colorbar map? d.