Hi all, Was going to reply to David's question about color bar labels with this script from Jaison Kurian (as I just included the link in a reply to a different question): Using the example he gives, I get the labels to appear in the middle of the color bar segments (as David wants). However, when I replace let key_text = xsequence({"({"desert","short grass","tundra","everg shrub",\ "decid shrub","tall grass","crop","irrig crop","mixed tree",\ "decid tree", "everg tree"}) with let key_text = XSEQUENCE({"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11"}) no labels appear. What am I doing wrong to get numerals as string data? Thanks for any clarification, Paul On Tue, Feb 10, 2009 David Wang wrote: thank you all for the responses. it seems that there is no straightforward, but workable solution. meanwhile using Matlab could probably save the hassle. D. On Tue, Feb 10, 2009 at 8:47 PM, Ryo Furue <furue@xxxxxxxxxx> wrote: Hi Ansley and David, [. . .] | The colorbar labels don't really have any more control than | this. [. . .] | | For a final publication plot, one could remove the colorbar labels | using the shakey command, and put new ones on "by hand" with the | LABEL command (or by modifying the plot in another graphics program), | but that's an arduous process. | | Anyone else have more ideas?? We could produce a fake shakey which is actually a plot of an artificial 2D field: define axis/x=0:10:1 my_x define axis/y=0:1:1 my_y let a = x[gx=my_x] + 0*y[gy=my_y] define view/axes/x=0.1:0.9/y=0.1:0.15 my_view set view my_view shade/lev=(0.5,9.5,1)/hlimits=0.5:9.5:1/vlimits=0:1:1\ /nokey/nolabel a ! Fix the axis labeling and remove unnecessary ! elements using ppl commands. This isn't particularly elegant. I'm not sure if it's less arduous than what Ansley describes, either. Regards, Ryo ----- Paul Young Chemistry and Climate Processes Chemical Sciences Division NOAA Earth System Research Laboratory 325 Broadway R/CSD8 Boulder CO 80305-3328 USA Tel: +1 303-497-4711 Fax: +1 303-497-5686 Email: paul.j.young@xxxxxxxx |