<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<base href="x-msg://52/">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hi Vikram,
<div>I think after your ¡Ý (~F34~3) you need to go back to your normal font (F21) for the number 12 and the following stuff -> "C~B~100%, Avg~N~ ~F34~3~F21~12"+leftunits</div>
<div>Cheers,</div>
<div><span style="font-size: 12pt; font-family: Calibri, sans-serif; "><br>
</span></div>
<div>
<div apple-content-edited="true">--<br>
Ruth Lorenz<br>
ARC Centre of Excellence for Climate System Science<br>
University of New South Wales<br>
Sydney, NSW 2052, Australia<br>
<a href="mailto:r.lorenz@unsw.edu.au">r.lorenz@unsw.edu.au</a><br>
<br>
<br>
<br>
</div>
<br>
<div>
<div>On 02/09/2014, at 6:52 AM, "Ravi, Vikram" <<a href="mailto:vikram.ravi@email.wsu.edu">vikram.ravi@email.wsu.edu</a>></div>
<div> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div lang="EN-IN" link="blue" vlink="purple" style="font-family: Helvetica; font-size: medium; 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-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<div class="WordSection1" style="page: WordSection1; ">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
Hi,<o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
<o:p> </o:p></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
I am trying to plot a map based on some model outputs (netCDF file). The image produced is attached. I want to write the following for the left side string below the image title:<o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
<span style="background-color: yellow; background-position: initial initial; background-repeat: initial initial; ">C<sub>100%, Avg</sub><span class="Apple-converted-space"> </span></span><span style="background-color: yellow; background-position: initial initial; background-repeat: initial initial; ">¡Ý</span><span class="Apple-converted-space"> </span>12
¦Ìg/m<sup>3</sup><o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
In the output image I just get the highlighted portion followed by some weird expression as seen in the image.<o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
<o:p> </o:p></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
When I run the ncl code, it writes the following message:<o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
PLCHHQ - CHARACTER NUMBER 34 (m) IS NOT A LEGAL FUNCTION CODE<o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
PLCHHQ - CHARACTER NUMBER 40 (g) IS NOT A LEGAL FUNCTION CODE<o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
PLCHHQ - CHARACTER NUMBER 41 (/) IS NOT A LEGAL FUNCTION CODE<o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
PLCHHQ - CHARACTER NUMBER 42 (m) IS NOT A LEGAL FUNCTION CODE<o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
PLCHHQ - CHARACTER NUMBER 34 (m) IS NOT A LEGAL FUNCTION CODE<o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
¡¡ + many more repetition of this message.<o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
<o:p> </o:p></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
The relevant portion of the code is :<o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
; Load some libraries:<o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
load "/home/lar/opt/ncl-6.0.0/gcc-4.1.2/lib/ncarg/nclscripts/csm/gsn_code.ncl"<o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
load "/home/lar/opt/ncl-6.0.0/gcc-4.1.2/lib/ncarg/nclscripts/csm/gsn_csm.ncl"<o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
load "/home/lar/opt/ncl-6.0.0/gcc-4.1.2/lib/ncarg/nclscripts/csm/contributed.ncl"<o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
<o:p> </o:p></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
; description of what is going to be plotted<o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
vardesc = "PM~B~2.5~N~"<o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
units = "% change";<o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
leftunits = "~F8~m~F21~g/m~S~3~N~"<o:p></o:p></div>
<div style="margin: 0cm 0cm 0.0001pt 36pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
<o:p> </o:p></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
<span style="font-size: 12pt; "> res@tiMainString = "~F3~D~F21~ C ~B~(100% case - 30% case)~N~"<o:p></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
<span style="font-size: 12pt; "> ; label description of the variable on the top left and right of the plot<o:p></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
<span style="font-size: 12pt; "> res@gsnLeftString = "C~B~100%, Avg~N~ ~F34~3~12"+leftunits<o:p></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
<span style="font-size: 12pt; "> res@gsnRightString = vardesc<o:p></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
<span style="font-size: 12pt; "> </span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
<span style="font-size: 12pt; ">Any idea what is going wrong? The .hluresfile is set up properly since when I run some other codes, I can see expressions like 12<span class="Apple-converted-space"> </span></span>¦Ìg/m<sup>3</sup><span style="font-size: 12pt; "><span class="Apple-converted-space"> </span>on
the image.<o:p></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
<span style="font-size: 12pt; "> </span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
<span style="font-size: 12pt; ">Thank you for any help.<o:p></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
<span style="font-size: 12pt; "> </span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
<span style="font-size: 12pt; ">Best,<o:p></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
<span style="font-size: 12pt; ">Vikram<o:p></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">
<o:p> </o:p></div>
</div>
<span><PM25_Fire_030-Fire_100.png></span>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" style="color: purple; text-decoration: underline; ">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>