<div style="font-size:10pt; font-family:나눔고딕, NanumGothic, sans-serif;"><p>Hi Jennifer,</p><p> </p><p>I query the shade info and read the contour level and try to 'set clab 'calender</p><p style="font-size: 10pt;"> </p><p style="font-size: 10pt;">*calender is a variable which gives the julian date</p><p style="font-size: 10pt;"> </p><p style="font-size: 10pt;">As the result is obvious, it will only print the last string at the end of the loop.</p><p style="font-size: 10pt;"> </p><p style="font-size: 10pt;">Am I doing it wrong?</p><p style="font-size: 10pt;"> </p><p style="font-size: 10pt;">Regards</p><p style="font-size: 10pt;">JH</p><p style="font-size: 10pt;"> </p><p style="font-size: 10pt;"> </p><p style="font-size:10pt;FONT-FAMILY: Gulim,AppleGothic,sans-serif;padding:0 0 0 10pt"><span>-----Original Message-----</span><br><b>From:</b> "Jennifer Adams"<jma@cola.iges.org> <br><b>To:</b> "GrADS Users Forum"<gradsusr@gradsusr.org>; <br><b>Cc:</b> <br><b>Sent:</b> 2014-01-17 (금) 03:25:07<br><b>Subject:</b> Re: [gradsusr] Help: How to customize contour label in GrADS?<br><br>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. </p><div>--Jennifer<br><div> </div><div><br><div><div>On Jan 16, 2014, at 1:18 PM, Ricardo Hallak wrote:</div><br><blockquote type="cite"><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><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> </span></b>"Jennifer Adams" <<a href="mailto:jma@cola.iges.org" target="_blank">jma@cola.iges.org</a>><br><b>Para:<span> </span></b>"GrADS Users Forum" <<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>><br><b>Enviadas:<span> </span></b>Quinta-feira, 16 de Janeiro de 2014 12:48:26<br><b>Assunto:<span> </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><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; "> </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; "> </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; "> </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; "> </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> </div><div> </div><div style="font-size: 10pt; "> </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; "> </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; "> </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; "> </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; "> </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> </span><a href="mailto:jhyap@safekorea.co.kr" target="_blank">jhyap@safekorea.co.kr</a></span> </div><div style="font-size: 10pt; "> </div><div style="font-size: 10pt; "> </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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></blockquote></div><br><div><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 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 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 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> </div><div> </div><br></span></span></div></span></span> </div> </div><br>_______________________________________________<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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></blockquote> </div>_______________________________________________<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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a> </div></span></blockquote></div><br><div>
<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 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 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 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> </div><div> </div><br></span></span></div></span></span><br>
</div>
</div></div>
</div>
<table style="display:none"><tr><td><img src="http://mail.naver.com/readReceipt/notify/?img=EQY%2FbzJl1zcrMxurhAn9p4FvF634MxErFqulM4UqFoCvp4K9MqtlaxiCtzFXp6UwKLl5WLl51zlqDBFdp6d5MreRhoRNb4JvbXkqbvINb4JvbXkqbSlTb4b%3D.gif" border="0"></td></tr></table>