[Thread Prev][Thread Next][Index]

Re: [ferret_users] Ferret 5.70 Palette error



Hi Jimmy,
When the palette is defined as a percent palette you need to make the first column of the palette go up to 100 % - maybe just add the line

    0.0  100.0  100.0  100.0
   10.0   95.0   95.0   95.0
   20.0   90.0   90.0   90.0
   35.0   82.0   82.0   82.0
   45.0   76.0   76.0   76.0
   60.0   69.0   69.0   69.0
   65.0   70.0   70.0   70.0
   80.0   90.0   90.0   90.0
  100.0   90.0   90.0   90.0
or whatever you think is appropriate for the color scale you want.

Ansley


jimmyc@xxxxxxxxxxx wrote:
All-
I tried to plot some data using the attached grayscale file. When I do this I get the following to work:
set mode metafile:plot.plt
commands
cancel mode metafile

sp Fprint -o plot.ps plot.plt

However, when using this command, it fails with an error from ghostscript:
sp convert plot.ps plot.eps

Yet I cannot view the result of the Fprint command.

So I tried without specifying a palette. Everything worked just fine. So, Have I done something wrong in the grayscale.spk (attached) file?

Any advice, ideas are welcome. Thanks



0.0 100.0 100.0 100.0 10.0 95.0 95.0 95.0 20.0 90.0 90.0 90.0 35.0 82.0 82.0 82.0 45.0 76.0 76.0 76.0 60.0 69.0 69.0 69.0 65.0 70.0 70.0 70.0 80.0 90.0 90.0 90.0

-- 

~>   ~>   ~>   ~>   ~>   ~>   ~>   ~>   ~>   ~>   ~> 

Ansley Manke, NOAA/PMEL   ansley.b.manke@xxxxxxxx
7600 Sand Point Way NE, Seattle WA
Phone 206-526-6246,  FAX 206-526-6744


[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement