[Thread Prev][Thread Next][Index]

Re: FRAME not work



Hi Boyin
You need to specify a file for the FRAME command to use
for the movie output.
FRAME/file=my_movie.mgm
Or, alternatively, you can specify the name of the file
on the SET MOVIE command and later use FRAME
without a filename.
SET MOVIE/FILE=my_movie.mgm
...
FRAME
Ansley Manke

Boyin Huang wrote:

Dear Ferret Colleagues:

I tried the movie (animation) function of the ferret for the first time,
which seems exciting.

However, when I tried to create a file using "frame", the computer keeps
running but nothing happens: no ferret fly and no message. When I delete
the FRAME, the ferret fly is normal, and I can convert the metafile into
postscript file and display it using ghostview.

My question: Did I put the FRAME at the right place? If not, where?

I tried to put it before ending the script, I have the same problem.

Any suggestions are welcomed. Thanks a lot.

Here are my scripts:

---------------------------------------------------------------------------------------------------

 set memory/size=20
 set movie
 set mode metafile
 query/ignore
 ........
 repeat/L=1:n  go "/indus_02/byh/ferret/MV/contour.jnl"

! FRAME
 cancel movie
 cancel mode metafile
 set mode verify
------------------------------------------------------------------------------------------------

in contour.jnl:

 fill/nolabel/nokey/lev=($lev1)/set         crr1[d=4]
 ppl shaset reset
 ppl yaxis ($y1),($y2),($dy)
 ppl xaxis ($x1),($x2),($dx)
 ppl axlsze ($lab_sz),($lab_sz)
 ppl labset ($mrk_sz),($mrk_sz),($mrk_sz),($mrk_sz)
 ppl conset ($con_lb_size)
 ppl shakey ($legend)
 ppl    fill
 ppl pen,77,1
 ppl aline 77 ($x1)  0    ($x2)  0

 let land = if arr1 eq -999 then 1
 shade/nolabel/nokey/over/palette=gray         land[d=4]

 label/nouser ($title_pos) ($title1)

 FRAME
------------------------------------------------------------------------------------------------------------------

--
Boyin Huang, Ph.D.
The Center for Research on the Changing Earth System (CRCES)
10211 Wincopin Circle, Suite 240
Columbia, MD 21044
Tel. 410-992-5300/819(o), 410-737-4557(h), Fax. 410-992-5944
Email. byh@crces.org, http://byh.crces.org


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement