<font size=2 face="sans-serif">Fernando,</font><br><font size=2 face="sans-serif">Attached sample script should do what
you want. Someone else may know of a way to format the "gxout
grid" plots (besides digsiz and dignum), but this one relies on the
'q defval...' query and a grid x-y WHILE loop to format and plot the values
at each grid point. While it may take an eye-blink longer, it seems
to work.</font><br><br><font size=2 face="sans-serif">As before, I included the GrADS-default
and script-derived images (airt1... and airt2..., respectively).
I did not include wind barbs in sample, since you did not have a question
about them.</font><br><br><font size=2 face="sans-serif">Stephen</font><br><br><br><br><table width=100%><tr valign=top><td width=40%><font size=1 face="sans-serif"><b>Fernando Reis <nandoreisbr@YAHOO.COM.BR></b></font><br><font size=1 face="sans-serif">Sent by: GRADSUSR@LIST.CINECA.IT</font><p><font size=1 face="sans-serif">08/28/2009 04:33 PM</font><table border><tr valign=top><td bgcolor=white><div align=center><font size=1 face="sans-serif">Please respond to<br>GRADSUSR@LIST.CINECA.IT</font></div></table><br><td width=59%><table width=100%><tr valign=top><td><div align=right><font size=1 face="sans-serif">To</font></div><td><font size=1 face="sans-serif">GRADSUSR@LIST.CINECA.IT</font><tr valign=top><td><div align=right><font size=1 face="sans-serif">cc</font></div><td><tr valign=top><td><div align=right><font size=1 face="sans-serif">Subject</font></div><td><font size=1 face="sans-serif">Res: Writing a positive signal ( + )
for temperatures</font></table><br><table><tr valign=top><td><td></table><br></table><br><br><font size=3 face="sans-serif">Hi Stephen,</font><br><font size=3 face="sans-serif">Thanks a lot for your answering.
I liked your exemplo a lot and it's probable that I'll use it in some place.
But I wasn't talking about the contour but about the number (set gxout
grid).</font><br><font size=3 face="sans-serif">I've attached two images for you.</font><font size=3></font><br><br><font size=3>model.gif is the image that I want to produce.</font><br><br><font size=3>reis.png is the image I can do now. The images have different
areas but what I want to know is how to do </font><font size=3 face="sans-serif">(+
for positives, no sign for negatives, )</font><br><br><font size=3 face="sans-serif">I hope I could be clear.</font><br><br><font size=3 face="sans-serif">Thanks again.</font><br><br><br><hr><br><font size=2 face="Tahoma"><b>De:</b> Stephen R McMillan <smcmillan@PLANALYTICS.COM></font><br><font size=2 face="Tahoma"><b>Para:</b> GRADSUSR@LIST.CINECA.IT</font><br><font size=2 face="Tahoma"><b>Enviadas:</b> Sexta-feira, 28 de Agosto
de 2009 17:04:41</font><br><font size=2 face="Tahoma"><b>Assunto:</b> Re: Writing a positive signal
( + ) for temperatures</font><br><br><font size=2 face="sans-serif">Fernando,</font><br><br><font size=2 face="sans-serif">You didn't say, but I assume you're
referring to a contour chart with contour labels. If so, see if following
sample script does what you had in mind for temperatures. I've attached
two PNG output images..."airt1" is GrADS default (- for negatives,
no sign for positives), and "airt2" is derived from sample script.
The "colors" function provides an alternate set of contour
colors.</font><br><br><font size=2 face="sans-serif">Let me know if it needs further explanation...good
luck.</font><br><font size=2 face="sans-serif">Stephen McMillan</font><br><br><font size=2 face="Arial">'define airt=air-273.16'</font><br><font size=2 face="Arial">#Do negatives:</font><br><font size=2 face="Arial">colors(1)</font><br><font size=2 face="Arial">'d -airt'</font><br><font size=2 face="Arial">#Do positives:</font><br><font size=2 face="Arial">colors(2)</font><br><font size=2 face="Arial">'set clab %+.f'</font><br><font size=2 face="Arial">'d airt'</font><br><font size=2 face="Arial">'draw title Air Temp (C) Neg = No
sign Pos = + sign'</font><br><br><font size=2 face="Arial">function colors(opt)</font><br><font size=2 face="Arial">if(opt=1)</font><br><font size=2 face="Arial">#set colors for absolute of negatives:</font><br><font size=2 face="Courier New"> 'set rgb 18 130 0 190'</font><br><font size=2 face="Courier New"> 'set rgb 20 0 0 150'</font><br><font size=2 face="Courier New"> 'set rgb 22 0 0 255'</font><br><font size=2 face="Courier New"> 'set rgb 24 0 100 255'</font><br><font size=2 face="Courier New"> 'set rgb 26 0 170 255'</font><br><font size=2 face="Courier New"> 'set rgb 28 0 230 255'</font><br><font size=2 face="Courier New"> 'set rgb 30 130 255 255'</font><br><font size=2 face="Courier New"> 'set rgb 31 245 245 245'</font><br><font size=2 face="Arial"> 'set clevs 0 2 4 6 8 10 12'</font><br><font size=2 face="Arial"> 'set ccols 31 30 28 26 24 22 20 18'</font><br><font size=2 face="Courier New">else</font><br><font size=2 face="Courier New">#set colors for positives:</font><br><font size=2 face="Courier New"> 'set rgb 32 255 255 130'</font><br><font size=2 face="Courier New"> 'set rgb 34 255 240 0'</font><br><font size=2 face="Courier New"> 'set rgb 36 255 195 0'</font><br><font size=2 face="Courier New"> 'set rgb 38 255 130 0'</font><br><font size=2 face="Courier New"> 'set rgb 40 255 50 0'</font><br><font size=2 face="Courier New"> 'set rgb 42 220 0 0'</font><br><font size=2 face="Courier New"> 'set rgb 44 150 0 0'</font><br><font size=2 face="Courier New"> 'set clevs 2 4 6 8 10 12'</font><br><font size=2 face="Courier New"> 'set ccols 32 34 36 38 40 42
44'</font><br><font size=2 face="Courier New">endif</font><br><font size=2 face="Arial">return</font><br><br><br><br><br><br><table width=100%><tr valign=top><td width=40%><font size=1 face="sans-serif"><b>Fernando Reis <nandoreisbr@YAHOO.COM.BR></b></font><br><font size=1 face="sans-serif">Sent by: GRADSUSR@LIST.CINECA.IT</font><br><br><font size=1 face="sans-serif">08/28/2009 10:04 AM</font><table border width=100%><tr valign=top><td width=100% bgcolor=white><div align=center><font size=1 face="sans-serif">Please respond to</font><br><font size=1 face="sans-serif">GRADSUSR@LIST.CINECA.IT</font></div></table><br><br><td width=59%><table width=100%><tr valign=top><td width=18%><div align=right><font size=1 face="sans-serif">To</font></div><td width=81%><font size=1 face="sans-serif">GRADSUSR@LIST.CINECA.IT</font><tr valign=top><td><div align=right><font size=1 face="sans-serif">cc</font></div><td><br><tr valign=top><td><div align=right><font size=1 face="sans-serif">Subject</font></div><td><font size=1 face="sans-serif">Writing a positive signal ( + ) for
temperatures</font></table><br><table width=100%><tr valign=top><td width=50%><br><td width=50%><br></table><br><br></table><br><br><table width=100%><tr valign=top><td width=100%><font size=3>Hello folks,</font><br><br><font size=3>I'd like to produce a chart with temperature and wind.
When Grads plots Negative temperatures it came with negative signal eg
( -78) and when the temperature is positive it came without signal.</font><br><br><font size=3>I'd like to do it in a different way bye plotting positive
values with a signal ( + 10 ) and negatives without it. ( 78 ).</font><br><br><font size=3>Is that possible?</font><br><br><font size=3>Thanks</font><br></table><br><hr><br><br><font size=3>Veja quais são os assuntos do momento no Yahoo! + Buscados:
</font><a href=http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com><font size=3 color=blue><u>Top
10</u></font></a><font size=3> - </font><a href=http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/celebridades><font size=3 color=blue><u>Celebridades</u></font></a><font size=3>-
</font><a href=http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/m%C3%BAsica><font size=3 color=blue><u>Música</u></font></a><font size=3>-
</font><a href=http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/esportes><font size=3 color=blue><u>Esportes</u></font></a><br><br><br><font size=3>***************************************************</font><br><font size=3>The information contained in this e-mail message is intended
only for the use of the recipient(s) named above and may contain information
that is privileged, confidential, and/or proprietary. If you are
not the intended recipient, you may not review, copy or distribute this
message. If you have received this communication in error, please
notify the sender immediately by e-mail, and delete the original message.</font><br><font size=3>***************************************************</font><br><br><font size=3>start: 0000-00-00 end: 0000-00-00 </font><br><hr><br><font size=3>Veja quais são os assuntos do momento no Yahoo! + Buscados:
</font><a href=http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/><font size=3 color=blue><u>Top
10</u></font></a><font size=3> - </font><a href=http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/celebridades/><font size=3 color=blue><u>Celebridades</u></font></a><font size=3>- </font><a href=http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/m%C3%BAsica/><font size=3 color=blue><u>Música</u></font></a><font size=3>- </font><a href=http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/esportes/><font size=3 color=blue><u>Esportes</u></font></a><font size=3>[attachment
"model.gif" deleted by Stephen R. McMillan/Planalytics] </font><font size=2 face="sans-serif">[attachment
"reis.png" deleted by Stephen R. McMillan/Planalytics] </font><br><BR>
<BR>
***************************************************<BR>
The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary. If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message.<BR>
***************************************************<BR>