<div dir="ltr">Hi LSL,<div>Looking at the documentation:</div><div><a href="http://www.ncl.ucar.edu/Document/Graphics/Resources/lg.shtml#lgLabelJust">http://www.ncl.ucar.edu/Document/Graphics/Resources/lg.shtml#lgLabelJust<br></a></div><div>It looks like lgLabelJust needs to be set to (in your case) "CenterRight".<br></div><div>Adam</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 7, 2020 at 6:02 AM LSL via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <div>Thanks for the indication. However,
      after change from "Right" to "right", there is still no legend
      name with prompt information:</div>
    <div><br>
    </div>
    <div>fatal:NhlCvtStringToEnum: Unable to
      convert string "right" to requested type<br>
      warning:Error retrieving resource lgLabelJust from args - Ignoring
      Arg<br>
      fatal:NhlCvtStringToEnum: Unable to convert string "right" to
      requested type<br>
      warning:Error retrieving resource lgLabelJust from args - Ignoring
      Arg<br>
      fatal:NhlCvtStringToEnum: Unable to convert string "right" to
      requested type<br>
      warning:Error retrieving resource lgLabelJust from args - Ignoring
      Arg</div>
    <div><br>
    </div>
    <div>LSL<br>
    </div>
    <div><br>
    </div>
    <div>On 2020/10/5 下午10:57, Rick Brownrigg
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div>Hi,</div>
        <div><br>
        </div>
        <div>I believe the strings are case-sensitive; it would be
          "right" rather than "Right".</div>
        <div><br>
        </div>
        <div>Rick<br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Mon, Oct 5, 2020 at 7:58 AM
          LSL via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear
          NCL community,<br>
          <br>
          I have met a problem when plotting density probability. The
          histogram <br>
          legend is shown without correct lgLineLabelStrings.<br>
          <br>
          Warnings prompted up at the end of the screen after executing
          the script <br>
          as follows.<br>
          <br>
          fatal:NhlCvtStringToEnum: Unable to convert string "Right" to
          requested type<br>
          warning:Error retrieving resource lgLabelJust from args -
          Ignoring Arg<br>
          fatal:NhlCvtStringToEnum: Unable to convert string "Right" to
          requested type<br>
          warning:Error retrieving resource lgLabelJust from args -
          Ignoring Arg<br>
          fatal:NhlCvtStringToEnum: Unable to convert string "Right" to
          requested type<br>
          warning:Error retrieving resource lgLabelJust from args -
          Ignoring Arg<br>
          <br>
          <br>
          The figure and NCL script were attached. Thanks in advance.<br>
          <br>
          LSL<br>
          <br>
          _______________________________________________<br>
          ncl-talk mailing list<br>
          <a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
          List instructions, subscriber options, unsubscribe:<br>
          <a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote>
      </div>
    </blockquote>
    <p><br>
    </p>
  </div>

_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist,  </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a>   </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>