Hi, I try to put logos in ferret output but I get a difference when I use ferret with -script -gif and ferret in interactive mode. Te quality of the logo is not the same with the same script. There are the outputs and the script. Jean-François --
|
define viewport vp_logo set viewport vp_logo define view cge set view cge use cge_logo ! set up the dimensions centered at the frame top ppl set yll_dflt 'vp_height' - 1.2 ppl set xtot 'vp_width' !ppl set xll_dflt 'xtot' / 2 ppl set xll_dflt 'xtot' / 2 ppl set xll_dflt 'xll_dflt' + 0.2 ppl origin 6.8, 'yll_dflt' ppl axlen 1,1 ! draw the silly thing ppl axset 0,0,0,0 shade/palette=cge_trans/lev=(49)(91)(138)(253)/VLIMITS=99:1/i=1:99/j=1:98/nolab/nokey/set logo ppl xlab; ppl ylab; ppl labs; ppl title ppl shade ppl shaset protect ! clean up palette ! restore previous color following SHADE/SET/PALETTE= ppl axset 1,1,1,1 set mode/last verif use ifremer_logo define view ifremer set view ifremer ! set up the dimensions centered at the frame top ppl set yll_dflt 'vp_height' - 0.8 ppl set xtot 'vp_width' ppl set xll_dflt 'xtot' / 3 ppl set xll_dflt 'xll_dflt' - 1.2 ppl origin 'xll_dflt', 'yll_dflt' ppl axlen 1.8,0.4 !ppl axlen 3.6,0.8 ! draw the silly thing ppl axset 0,0,0,0 shade/palette=ifremer_trans/lev=(0)(181)(226)(255)/VLIMITS=50:1/i=1:250/j=1:50/nolab/nokey/set logo ppl xlab; ppl ylab; ppl labs; ppl title ppl shade ppl shaset protect ! clean up palette ! restore previous color following SHADE/SET/PALETTE= ppl axset 1,1,1,1 set mode/last verif frame/file="toto.gif"