<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Thanks Adam. But it still does not
      work:</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">fatal:NhlCvtStringToEnum: Unable to
      convert string "CentralRight" to requested type<br>
      warning:Error retrieving resource lgLabelJust from args - Ignoring
      Arg<br>
      fatal:NhlCvtStringToEnum: Unable to convert string "CentralRight"
      to requested type<br>
      warning:Error retrieving resource lgLabelJust from args - Ignoring
      Arg<br>
      fatal:NhlCvtStringToEnum: Unable to convert string "CentralRight"
      to requested type<br>
      warning:Error retrieving resource lgLabelJust from args - Ignoring
      Arg</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">It seems like something relative to
      type conversion.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">LSL<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 2020/10/8 上午12:22, Adam Phillips
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CACvWuqCH5ziY9udRHtQiXe5bT1w4bv=1FRfSb9q-Y-ocCNWQRQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <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"
            moz-do-not-send="true">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"
            moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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"
                    moz-do-not-send="true">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"
            moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">www.cgd.ucar.edu/staff/asphilli/</a>  
                          </font></span><span><font color="#888888">303-497-1726
                          </font></span></div>
                      <span></span>
                      <div>
                        <div><span><font color="#888888"><br>
                            </font></span>
                          <div><span></span></div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>