[Thread Prev][Thread Next][Index]
Re: GIF weirdness and passing symbols...
Hi Gary,
Regarding GIFs and 24 bit color: just a suggestion that a fallback
solutions on Unix systems is
yes? spawn xwd -name FERRET_1 -nobdrs -out my_dump.xwd
To make this more convenient you can put this line into your .ferret
file:
DEFINE ALIAS MY_FRAME spawn xwd -name FERRET_1 -nobdrs -out
and then simply use
yes? MY_FRAME my_dump.xwd
----
Regarding symbol passing: I suspect the complication is that the label
in question has embedded blanks. You need to make sure, then, that the
passed label is always enclosed in quotation marks. e.g.:
test.jnl:
say $1
go sub_test "$1"
sub_test.jnl:
say And from the sub-script: $1
now try:
yes? can mode verify ! makes it easier to read this example
yes? set data coads_climatology
yes? set mode calendar:days ! nicer time label for monthly data
yes? contour sst[l=1]
yes? go test "($lab4)"
TIME : 16-JAN
And from the sub-script: TIME : 16-JAN
You can use the following syntax
yes? go test "($LAB($LABNUM_T))" ! see chapt 7 of UG
to avoid the reference to a specific label number.
Hope this helps - steve
================================================================
Gary Strand wrote:
>
> > A possible answer to your first question -- my guess is that you are
> > running Ferret on a 24 bit visual and, unfortunately, the only way to
> > get a GIF out of Ferret on a 24 bit visual is to use "ferret -gif."
> > Alternatively, you could run Ferret on a 8 bit visual.
>
> Aha!
>
> I used to run X in PseudoColor mode, now I run it in TrueColor mode - that
> explains why gifs created via "ferret -unmapped" aren't readable. It's a bum-
> mer since I really like TrueColor mode and didn't much care for the other one.
>
> Hmmm... Hafta think about it...
>
> Thanks!
> --
> Gary Strand
> strandwg@ucar.edu http://www.cgd.ucar.edu/ccr/gary
--
| NOAA/PMEL | ph. (206) 526-6080
Steve Hankin | 7600 Sand Point Way NE | FAX (206) 526-6744
| Seattle, WA 98115-0070 | hankin@pmel.noaa.gov
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement