<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana,helvetica,sans-serif;font-size:12pt"><div><font face="sans-serif" size="3">Hi Stephen,<br>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).<br></font><font face="sans-serif" size="3">I've attached two images for you.</font> <font size="3"><br><br><span style="color: rgb(255, 0, 0);">model.gif</span> is the image that I want to produce.<br><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">reis.png</span> is the image I can do now. The images have different areas but what I want to know is how to do </font><font face="sans-serif" size="2"><font size="3">(</font></font><font face="sans-serif" size="2"><font size="3">+ for positives</font></font><font face="sans-serif" size="2"><font size="3">, </font></font><font face="sans-serif" size="2"><font size="3">no sign </font></font><font face="sans-serif" size="2"><font size="3"> for negatives, )<br><br>I hope I could be clear.<br><br>Thanks again.</font></font></div><div style="font-family: verdana,helvetica,sans-serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif;
font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">De:</span></b> Stephen R McMillan <smcmillan@PLANALYTICS.COM><br><b><span style="font-weight: bold;">Para:</span></b> GRADSUSR@LIST.CINECA.IT<br><b><span style="font-weight: bold;">Enviadas:</span></b> Sexta-feira, 28 de Agosto de 2009 17:04:41<br><b><span style="font-weight: bold;">Assunto:</span></b> Re: Writing a positive signal ( + ) for temperatures<br></font><br><font face="sans-serif" size="2">Fernando,</font><br><br><font face="sans-serif" size="2">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 face="sans-serif" size="2">Let me know if it needs further explanation...good
luck.</font><br><font face="sans-serif" size="2">Stephen McMillan</font><br><br><font face="Arial" size="2">'define airt=air-273.16'</font><br><font face="Arial" size="2">#Do negatives:</font><br><font face="Arial" size="2">colors(1)</font><br><font face="Arial" size="2">'d -airt'</font><br><font face="Arial" size="2">#Do positives:</font><br><font face="Arial" size="2">colors(2)</font><br><font face="Arial" size="2">'set clab %+.f'</font><br><font face="Arial" size="2">'d airt'</font><br><font face="Arial" size="2">'draw title Air Temp (C) Neg = No
sign Pos = + sign'</font><br><br><font face="Arial" size="2">function colors(opt)</font><br><font face="Arial" size="2">if(opt=1)</font><br><font face="Arial" size="2">#set colors for absolute of negatives:</font><br><font face="Courier New" size="2"> 'set rgb 18 130 0 190'</font><br><font face="Courier New" size="2"> 'set rgb 20 0 0 150'</font><br><font face="Courier New" size="2"> 'set rgb 22 0 0 255'</font><br><font face="Courier New" size="2"> 'set rgb 24 0 100 255'</font><br><font face="Courier New" size="2"> 'set rgb 26 0 170 255'</font><br><font face="Courier New" size="2"> 'set rgb 28 0 230 255'</font><br><font face="Courier New" size="2"> 'set rgb 30 130 255 255'</font><br><font face="Courier New" size="2"> 'set rgb 31 245 245 245'</font><br><font face="Arial" size="2"> 'set clevs 0 2 4 6 8 10 12'</font><br><font face="Arial" size="2"> 'set ccols 31 30 28 26 24 22 20
18'</font><br><font face="Courier New" size="2">else</font><br><font face="Courier New" size="2">#set colors for positives:</font><br><font face="Courier New" size="2"> 'set rgb 32 255 255 130'</font><br><font face="Courier New" size="2"> 'set rgb 34 255 240 0'</font><br><font face="Courier New" size="2"> 'set rgb 36 255 195 0'</font><br><font face="Courier New" size="2"> 'set rgb 38 255 130 0'</font><br><font face="Courier New" size="2"> 'set rgb 40 255 50 0'</font><br><font face="Courier New" size="2"> 'set rgb 42 220 0 0'</font><br><font face="Courier New" size="2"> 'set rgb 44 150 0 0'</font><br><font face="Courier New" size="2"> 'set clevs 2 4 6 8 10 12'</font><br><font face="Courier New" size="2"> 'set ccols 32 34 36 38 40 42
44'</font><br><font face="Courier New" size="2">endif</font><br><font face="Arial" size="2">return</font><br><br><br><br><br><br><table width="100%"><tbody><tr valign="top"><td width="40%"><font face="sans-serif" size="1"><b>Fernando Reis <nandoreisbr@YAHOO.COM.BR></b></font><br><font face="sans-serif" size="1">Sent by: GRADSUSR@LIST.CINECA.IT</font><p><font face="sans-serif" size="1">08/28/2009 10:04 AM</font><table border="1"><tbody><tr valign="top"><td bgcolor="white"><div align="center"><font face="sans-serif" size="1">Please respond to<br>GRADSUSR@LIST.CINECA.IT</font></div></td></tr></tbody></table><br></p></td><td width="59%"><table width="100%"><tbody><tr valign="top"><td><div align="right"><font face="sans-serif" size="1">To</font></div></td><td><font face="sans-serif" size="1">GRADSUSR@LIST.CINECA.IT</font></td></tr><tr valign="top"><td><div align="right"><font face="sans-serif" size="1">cc</font></div></td><td><br></td></tr><tr
valign="top"><td><div align="right"><font face="sans-serif" size="1">Subject</font></div></td><td><font face="sans-serif" size="1">Writing a positive signal ( + ) for
temperatures</font></td></tr></tbody></table><br><table><tbody><tr valign="top"><td><br></td><td><br></td></tr></tbody></table><br></td></tr></tbody></table><br><br><table width="100%"><tbody><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></td></tr></tbody></table><br><hr><br><font size="3">Veja quais são os assuntos do momento no Yahoo! + Buscados:
</font><a rel="nofollow" target="_blank" href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com"><font color="blue" size="3"><u>Top
10</u></font></a><font size="3"> - </font><a rel="nofollow" target="_blank" href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/celebridades"><font color="blue" size="3"><u>Celebridades</u></font></a><font size="3">- </font><a rel="nofollow" target="_blank" href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/m%C3%BAsica"><font color="blue" size="3"><u>Música</u></font></a><font size="3">- </font><a rel="nofollow" target="_blank" href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/esportes"><font color="blue" size="3"><u>Esportes</u></font></a><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></div></div></div><br>
start: 0000-00-00
end: 0000-00-00
<hr size=1>Veja quais são os assuntos do momento no Yahoo! + Buscados: <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/">Top 10</a> - <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/celebridades/">Celebridades</a> - <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/m%C3%BAsica/">Música</a> - <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/esportes/">Esportes</a></body></html>