Hi David,
Good detective work, and thanks for writing back. We don't yet have a
fix for this bug, but thanks for the second report. It's good to have
another example of the behavior.
Ansley
David Wang wrote:
Hi,
I dove into the achieve and found a workaround (provided by Ansley) --
to draw the shade plot twice in the second viewport. Apparently this is
a bug that persists.
http://www.pmel.noaa.gov/maillists/tmap/ferret_users/fu_2008/msg00470.html
D.
On Fri, Apr 10, 2009 at 11:53 AM, David Wang
<climater@xxxxxxxxx>
wrote:
Hey
Ferreters,
I ran into a pretty odd problem with shade plots under the -gif mode. I
would create a gif image using the -gif command line switch (ferret
-gif -script foo.jnl), with two viewports (left and right), and in each
of which a shade plot. The plot in the first (left) viewport in the
resultant gif file is perfectly fine. The color shades of the plot in
the second (right) viewport, however, are offset. The problem is
illustrated by the attached image, in which I plotted
(shade/line/key.... frame/file=sst.gif) the same data on both
viewports. In the right viewport, all shade colors are shifted by 5
degC. Such a problem doesn't exist in the Ferret session under the
normal mode (on screen). I wonder if anyone can reproduce this problem.
I use Ferret 6.1 on linux.
Here is the code:
\can mode verify
can data/a
use
levitus_climatology
set view left
shade/line/key/nolab/pal=blue_darkred
temp[k=1]
set view right
shade/line/key/nolab/pal=blue_darkred
temp[k=1]
frame/file=sst.gif
Thank you,
D.
--
life grows, death doesn't. there is no dress rehearsal.
--
life grows, death doesn't. there is no dress rehearsal.
|