<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'>Hi Jennifer,<br><br>I think JH Yap wants to get a contour label with something like, for example, "21JAN" instead the julian day 21, and so on. His contour levels are julian days. I guess it is kind of difficult to do, if not impossible. That is, to get julian days as contour levels in a map, certainly it comes from a matrix of data composed by julian days, one julian day (a number) for each grid point. How to get the same information using a "string" date? The problem here is that contours, in GrADS, comes from numbers, through a process of interpolation (numbers again), not from strings. How to interpolate "strings"?<br><br>Maybe JH Yap could give us an example of contour label he wants, just to clarify a bit more.<br><br>Ricardo<br><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b>"Jennifer Adams" <jma@cola.iges.org><br><b>Para: </b>"GrADS Users Forum" <gradsusr@gradsusr.org><br><b>Enviadas: </b>Quinta-feira, 16 de Janeiro de 2014 12:48:26<br><b>Assunto: </b>Re: [gradsusr] Help: How to customize contour label in GrADS?<br><br><div>Are you interesting in changing the contour labels or the axis labels? For contour labels, 'set clab' is the most general, and 'set clopts' and 'set clskip' control their appearance. For axis labels, most of the controls do not apply to a date/time axis, so you have to override manually with 'set xlabs'. --Jennifer</div><div><br><div><div>On Jan 15, 2014, at 3:36 AM, 얍준후이 wrote:</div><br class="Apple-interchange-newline"><blockquote><div style="font-size:10pt; font-family:나눔고딕, NanumGothic, sans-serif;"><p>Hi GrADS team,</p><div style="font-size: 10pt; "> <br class="webkit-block-placeholder"></div><p style="font-size: 10pt;">I have displayed my contour by default like this</p><div style="font-size: 10pt; "> <br class="webkit-block-placeholder"></div><p style="font-size: 10pt; color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);"><b>ga-> set gxout contour</b></span></p><p style="font-size: 10pt; color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);"><b>ga -> d flowers</b></span></p><p style="font-size: 10pt; color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);"><b>Contouring: 80 to 145 interval 5 </b></span></p><div style="font-size: 10pt; "> <br class="webkit-block-placeholder"></div><p style="font-size: 10pt;">Then I get my contour presented in map as per the image attached.</p><div style="font-size: 10pt; "> <br class="webkit-block-placeholder"></div><p style="font-size: 10pt;">The contour label is julian date.</p><div><br></div><div><br></div><div style="font-size: 10pt; "> <br class="webkit-block-placeholder"></div><p style="font-size: 10pt;">Now I would like to change the contour label to regular date.</p><div style="font-size: 10pt; "> <br class="webkit-block-placeholder"></div><p style="font-size: 10pt;">I already made a function for julian date to regular date conversion in GrADS script language.</p><div style="font-size: 10pt; "> <br class="webkit-block-placeholder"></div><p style="font-size: 10pt;">How could I customize the default contour label (julian date) to regular date by using my function? </p><div style="font-size: 10pt; "> <br class="webkit-block-placeholder"></div><p style="font-size: 10pt;">Thank you</p><div style="font-size: 10pt; "> <br class="webkit-block-placeholder"></div><p style="font-size: 10pt;"><span style="font-family: Gulim; background-color: rgb(255, 255, 255);">-------------------------</span><br style="font-family: Gulim; background-color: rgb(255, 255, 255);"><span style="font-family: Gulim; background-color: rgb(255, 255, 255);">JH Yap, M.Eng.</span><br style="font-family: Gulim; background-color: rgb(255, 255, 255);"><br style="font-family: Gulim; background-color: rgb(255, 255, 255);"><span style="font-family: Gulim; background-color: rgb(255, 255, 255);">Software Development Engineer / Safe Korea</span><br style="font-family: Gulim; background-color: rgb(255, 255, 255);"><br style="font-family: Gulim; background-color: rgb(255, 255, 255);"><span style="font-family: Gulim; background-color: rgb(255, 255, 255);">Office: +82-02-2668-3926</span><br style="font-family: Gulim; background-color: rgb(255, 255, 255);"><span style="font-family: Gulim; background-color: rgb(255, 255, 255);">Mobile: +82-10-8281-3241</span><br style="font-family: Gulim; background-color: rgb(255, 255, 255);"><span style="font-family: Gulim; background-color: rgb(255, 255, 255);">E-mail: <a href="mailto:jhyap@safekorea.co.kr" target="_blank">jhyap@safekorea.co.kr</a></span> </p><div style="font-size: 10pt; "> <br class="webkit-block-placeholder"></div><div style="font-size: 10pt; "> <br class="webkit-block-placeholder"></div></div>
<table style="display:none"><tbody><tr><td><img src="http://mail.naver.com/readReceipt/notify/?img=EwK%2FbzJl1zcZaAkohAn9MqKwFq2XaAUdFov9KoF0KxMlpxvXKqpoMqumtzFXp6UmFLl5WLl51zlqDBFdp6d5MreRhoRNb4JvbXkqbvINb4JvbXkqbSlTb4b%3D.gif" src="http://mail.naver.com/readReceipt/notify/?img=EwK%2FbzJl1zcZaAkohAn9MqKwFq2XaAUdFov9KoF0KxMlpxvXKqpoMqumtzFXp6UmFLl5WLl51zlqDBFdp6d5MreRhoRNb4JvbXkqbvINb4JvbXkqbSlTb4b%3D.gif" border="0"></td></tr></tbody></table><span><how to change contour label.JPG></span>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams<br>Center for Ocean-Land-Atmosphere Studies (COLA)<br>111 Research Hall, Mail Stop 2B3<br>George Mason University<br>4400 University Drive<br>Fairfax, VA 22030 <br><br></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span></span><br class="Apple-interchange-newline">
</div>
<br></div><br>_______________________________________________<br>gradsusr mailing list<br>gradsusr@gradsusr.org<br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote><br></div></body></html>