<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">You can use 'set clab FOO' and it will draw a label as "FOO". I guess you could draw each contour individually, looping over the contour level, convert the level from julian day to a string, then label that contour appropriately. <div>--Jennifer<br><div> </div><div><br><div><div>On Jan 16, 2014, at 1:18 PM, Ricardo Hallak wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; 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; "><div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; color: rgb(0, 0, 0); ">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-width: 2px; border-left-style: solid; border-left-color: rgb(16, 16, 255); margin-left: 5px; padding-left: 5px; color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica, Arial, sans-serif; font-size: 12pt; "><b>De:<span class="Apple-converted-space"> </span></b>"Jennifer Adams" <<a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a>><br><b>Para:<span class="Apple-converted-space"> </span></b>"GrADS Users Forum" <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br><b>Enviadas:<span class="Apple-converted-space"> </span></b>Quinta-feira, 16 de Janeiro de 2014 12:48:26<br><b>Assunto:<span class="Apple-converted-space"> </span></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; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi GrADS team,</div><div style="font-size: 10pt; "> <br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 10pt; ">I have displayed my contour by default like this</div><div style="font-size: 10pt; "> <br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 10pt; color: rgb(0, 0, 0); "><span style="color: rgb(0, 0, 0); "><b>ga-> set gxout contour</b></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 10pt; color: rgb(0, 0, 0); "><span style="color: rgb(0, 0, 0); "><b>ga -> d flowers</b></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 10pt; color: rgb(0, 0, 0); "><span style="color: rgb(0, 0, 0); "><b>Contouring: 80 to 145 interval 5 </b></span></div><div style="font-size: 10pt; "> <br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 10pt; ">Then I get my contour presented in map as per the image attached.</div><div style="font-size: 10pt; "> <br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 10pt; ">The contour label is julian date.</div><div><br></div><div><br></div><div style="font-size: 10pt; "> <br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 10pt; ">Now I would like to change the contour label to regular date.</div><div style="font-size: 10pt; "> <br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 10pt; ">I already made a function for julian date to regular date conversion in GrADS script language.</div><div style="font-size: 10pt; "> <br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 10pt; ">How could I customize the default contour label (julian date) to regular date by using my function? </div><div style="font-size: 10pt; "> <br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-size: 10pt; ">Thank you</div><div style="font-size: 10pt; "> <br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; 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:<span class="Apple-converted-space"> </span><a href="mailto:jhyap@safekorea.co.kr" target="_blank">jhyap@safekorea.co.kr</a></span> </div><div style="font-size: 10pt; "> <br class="webkit-block-placeholder"></div><div style="font-size: 10pt; "> <br class="webkit-block-placeholder"></div></div><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><a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></blockquote></div><br><div><span class="Apple-style-span" style="border-collapse: separate; 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; 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; 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; 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><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></blockquote><br></div>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div></span></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></div></body></html>