[Thread Prev][Thread Next][Index]

Re: [ferret_users] ppl shakey



Sorry, not answering David's original question, but a bit more information on Billy's comment:

To get ferret to execute certain commands/configure preferences at startup, put the commands in a file called ".ferret" in your home directory. I know this works for ferret on Linux and Mac.

Paul

On Jul 13, 2009, at 4:51 PM, William S. Kessler wrote:

I have a startup file that I execute (manually, but I think that's just because I am too lazy to script it) every time I start Ferret.

Mine consists of the following:
- - - - - - - - - - - - - - -
sp mkdir fjnl     ! make a subdirectory fjnl to store the jnl files
set mode journal fjnl/ferret.jnl    ! tell ferret to write the jnl files in subdirectory fjnl
sp ls -t1 fjnl/* | head -2 | tail -1    ! list the most recent jnl file

\can mode verify     ! omit echoing to screen for the next commands
! file to start a good window on ferret
set win/si=.5 1             ! open a medium-sized window
ppl cross,1    ! set the default to include zero lines on plots
ppl conset,.12     ! set the default contour label size to 0.12 inches
ppl axlsze,.12,.12    ! set the default axis label size to 0.12 inches
go ptest        ! make a test plot
set mode verify     ! reset the echoing
- - - - - - - - - - - - - -

I call this startup.go, and put it in my ferret_paths. Then I just type "start" at the beginning of a Ferret session, and all those things are defined. I'm pretty sure you could put that SHAKEY thing in there.

Note the 3 lines at the beginning. Those put the jnl files in a subdirectory called fjnl, and tell me the most recent. I have a set of tools for searching these, that I wrote to the user group some years ago: search the mail archives for "grepjnl" for instructions.

I have a new tool to get rid of the resulting annoying small jnl files that remain in the original directory, but I don't have time to write that now. Ask me again sometime.

Billy

On Jul 13, 2009, at 12:49 PM, David Wang wrote:

Hi Ferreters,

I cannot access the mailing list archive at this point. So please excuse me if there are any answers in the previous discussions.

I wonder if it is possible once for all to set the font size of shakey labels to a certain value. As far as I figure, this has to be done on a plot-by-plot basis:

shade/set whatever
ppl shakey ,,0.15
ppl shade

while:

ppl shakey ,,0.15
shade whatever

doesn't avail.

(on the contrary, the following does work:

ppl axlsze .15,.15
ppl conset .15
shade whatever
)

This can be a bit awkward if I have more than a few plots in need of a larger shakey label font.

Do I miss anything obvious? I'm using the latest Ferret (32-bit Linux).

Thanks,
David

--
turn and live.



-----
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


[Thread Prev][Thread Next][Index]

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

Privacy Policy | Disclaimer | Accessibility Statement