[Thread Prev][Thread Next][Index]

Re: [ferret_users] shaded plot for discrete data



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



--
life grows, death doesn't.

[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement