[Thread Prev][Thread Next][Index]

Re: [ferret_users] Ferret 5.70 Palette error



Thanks Ansley and Jaison-
This did the trick.

jimmyc

On Thu, 29 Mar 2007, Ansley Manke wrote:

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




--
James Correia Jr.
Ph.D. Candidate in Agricultural Meteorology
Former President: ISU Graduate Meteorology Club
Dept. of Agronomy, Iowa State University
*********************************************
Email: jimmyc@xxxxxxxxxxx
Phone: 515-294-9870
Web: http://bruce.agron.iastate.edu/jimmyc/
ISU GMC: http://www.stuorg.iastate.edu/gmc/
*********************************************
"There is a difference between knowing the path and walking the path"
-"Morpheus"

"Wisdom. Strength. Courage. Generosity. Each of us are born with one of
these. We must find the other three inside of us."
from "Into the West"

"What have you lost? Control? It was an illusion ... you only thought you
had it! What have you lost?    *My illusions.*"
-From the movie "Instinct"


[Thread Prev][Thread Next][Index]

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

Privacy Policy | Disclaimer | Accessibility Statement