Hi Robert,
This seems to be related to the /VLIM qualifier that you have
used, in combination with /TRANSPOSE. In the -gif mode, when
doing a SHADE plot of a regular grids, the graphics makes a call
to draw the whole image at once as a single array, instead of
filling individual areas with color, as is done in other modes.
There must be a bug in that, when using a /VLIM to invert the
image.
We'll look into this, and I do have a couple of possible
workarounds. Maybe we can talk off-line and get back to the list
with something that works.
-Ansley
On 7/15/2016 5:56 AM, Osinski, Robert
FORNATL, PL wrote:
Dear ferreters,
I have a script creating gif image like this:
can dat/all
set dat "/p/cwfs/osinski/pop_h/pop9km.nc"
set win/aspect=1.9
set reg/x=920:1075/y=250:320
shade/nolab/transponse/vlim=1075:920:20 ht/100
shade/ov/lev=(0)/palette=gray/nolab/nokey/transponse ht
contour/ov/pen=1/lev=(0.001,0.001,1,-3)/nolab/transponse/vlim=1075:920:20
ht
con/ov/pen=1/lev=(20,80,10)/nolab/transponse/vlim=1075:920:20
tlat
con/ov/pen=1/lev=(0,360,10)/nolab/transponse/vlim=1075:920:20
tlong
label/user 290,915,0,0,0.15 "Model Bathymetry (m)"
frame/file=temperature_1.gif
running it with
ferret -script rot_Baffin_temp_9km.jnl
creates temperature_1.gif (attached) which is correct result.
Unfortunately if I run the script without xwindow like this:
ferret -gif -script rot_Baffin_temp_9km.jnl
creates temperature_2.gif (attached) which is missing color
shading. If I don't use transponse options pictures are correct
with -gif -script settings.
I appreciate and advice,
Thanks,
Dr. Robert Osinski
NPS