Max # of clevs?
Mark Sponsler
msponsler at COMCAST.NET
Sun Apr 12 11:34:28 EDT 2009
Hi all,
Thanks so much for your help. I found my problem.
I was actually trying to do 2 seperate clevs/ccols disaplys. The first one had 20+ levels in it as did the second. For some reason they clobbered each other.
But if I did a printim betweeen, then issued a 'clear' and did the second clevs/ccols, all works fine. And that was my intent all along. I just forgot to issue the 'clear'.
Here's a segment of the script
'set gxout shaded'
'set csmooth on'
'set clevs 0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 95 105 115 125 135 145'
'set ccols 96 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 60 61 62 63 64 65 66 66'
'd 1.943846*mag(ugrd10m,vgrd10m)'
'run cbarn.gs 0.75 1'
************************************
* Overlay Topo Map
************************************
'printim test.png png -f 'fname'.png x700 y541 white'
**********************************************
'clear graphics'
'set gxout shaded'
'set csmooth on'
'set clevs 0 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 95 105 115 125 135 145'
'set ccols 0 0 73 74 75 76 77 78 79 80 81 82 83 84 85 60 61 62 63 64 65 66 66'
'd 1.943846*mag(ugrd10m,vgrd10m)'
Thanks again,
Mark
----- Original Message -----
From: "Arlindo da Silva" <arlindo.dasilva at GMAIL.COM>
To: GRADSUSR at LIST.CINECA.IT
Sent: Friday, April 10, 2009 8:46:30 PM GMT -08:00 US/Canada Pacific
Subject: Re: Max # of clevs?
On Fri, Apr 10, 2009 at 10:09 PM, Mark Sponsler < msponsler at comcast.net > wrote:
Hi
Simple question: I'm using Grads 1.9 superpack on Windows. It appears
there is a max of 20 clevs
Really? Only 20?
before the color scale starts not working
anymore and all colored results (clevs or otherwise) become unpredictable
after that threshold.
Anyone else experince this problem and is there a fix?
Can you send a reproducer? For example, a simple script that opens the standard test file (model.ctl, shipped with the superpack).
I've increased the number of colors from 100 to 256 in the latest windows superpack v2.0.a5.oga.4. I'd be interested in knowing if you have the same problem in this version.
Arlindo
Thanks
--
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20090412/b1f4db81/attachment.html
More information about the gradsusr
mailing list