<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Hi Adam,</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"> Thanks for your great recommendations.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"> 1) Dennis Shea mentioned that the
      Taylor diagram listed in NCL website is hard-coded for normalized
      standard deviation, not for standard deviation</div>
    <div class="moz-cite-prefix"> as shown in previous link I provided,
      right?</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"> 2) How to remove the "0.75" "1" labels
      close to correlation value? I just want to keep one. Is possible
      to</div>
    <div class="moz-cite-prefix">   add "0.25"?  see attached plot.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"> Thanks</div>
    <div class="moz-cite-prefix"> Tao<br>
    </div>
    <div class="moz-cite-prefix"> <br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 4/3/23 4:01 PM, Adam Phillips wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:CACvWuqB=0BysWJk-9iNKpkONS0vkqBMmgDucrf0J0LTDUibt1g@mail.gmail.com">
      
      <div dir="ltr">Hi Tao,
        <div>I believe you corresponded with someone offline about this.
          I have some experience modifying the taylor_diagram function,
          but I have not done what you are looking for so I can only
          offer recommendations. You will likely need to make several
          attempts getting all the resources set the way you want;
          hopefully your test script runs quickly!</div>
        <div><br>
        </div>
        <div>To answer your 3 questions:</div>
        <div>1 - Yes.</div>
        <div>2 - I believe this is possible. Steps required:</div>
        <div>   - Copy the <a href="https://www.ncl.ucar.edu/Applications/Scripts/taylor_diagram.ncl" moz-do-not-send="true">taylor_diagram.ncl</a> code, and
          saving it as (say) taylor_diagram_2.ncl. </div>
        <div>   - Alter the function name at the top to taylor_diagram_2
          (at line one of taylor_diagram_2.ncl). </div>
        <div>   - In your new function, go to the section entitled "Part
          3". You will see a resource list that is initiated 5 lines
          beneath "Part 3" named respl. I would try adding the following
          resource settings <b>beneath</b> the current respl resource
          settings:</div>
        <div>     respl@gsLineDashSegLenF = 0.30.   ; Controls spacing
          between line labels; this setting will require some trial and
          error.</div>
        <div>     respl@gsLineLabelFontColor = respl@gsLineColor</div>
        <div>     respl@gsLineLabelFontHeightF = 0.0125.   ; this font
          height setting might need adjustment</div>
        <div><br>
        </div>
        <div>  - Then, within the "do n-1,ncon" do loop, you will need
          to tell NCL how to label the lines, so try this:</div>
        <div>      do n=1,ncon</div>
                   rr  = n*dx    
        <div>           res@gsLineLabelString = rr.   ; add this line</div>
        <div><br>
        </div>
        <div>That should do it. As I stated in the comments above, you
          will likely need to adjust the setting for gsLineDashSegLenF
          and gsLineLabelFontHeightF.</div>
        <div><br>
        </div>
        <div>3 - Yes. Search within the function for the resource
          "gsLineColor". You can adjust these as needed.</div>
        <div><br>
        </div>
        <div>Hope that helps!</div>
        <div>Adam</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Sat, Mar 25, 2023 at
          3:00 PM Tao Zhang via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" moz-do-not-send="true" class="moz-txt-link-freetext">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">Hi,<br>
          <br>
            I can reproduce the taylor_4 figure using the sample script
          in<br>
          <br>
          <a href="https://www.ncl.ucar.edu/Applications/Images/taylor_4_1_lg.png" rel="noreferrer" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">https://www.ncl.ucar.edu/Applications/Images/taylor_4_1_lg.png</a><br>
          <br>
          <a href="https://www.ncl.ucar.edu/Applications/Scripts/taylor_4.ncl" rel="noreferrer" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">https://www.ncl.ucar.edu/Applications/Scripts/taylor_4.ncl</a><br>
          <br>
          But I want  Figure 1 in<br>
          <br>
          <a href="https://en.wikipedia.org/wiki/Taylor_diagram#:~:text=Taylor%20diagrams%20are%20mathematical%20diagrams,comparative%20assessment%20of%20different%20models" rel="noreferrer" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">https://en.wikipedia.org/wiki/Taylor_diagram#:~:text=Taylor%20diagrams%20are%20mathematical%20diagrams,comparative%20assessment%20of%20different%20models</a><br>
          <br>
          Which shows the standard deviation (0~4 mm/day), not the
          standardized <br>
          deviations (normalized) (0-1.5).<br>
          <br>
          1) May I only change the taylor_4.ncl for my purpose, but keep
          the <br>
          loaded "taylor_diagram.ncl" unchanged?<br>
          <br>
          2) How to add "observed value" in the Taylor diagram as shown
          in Figure <br>
          1 in above link?<br>
          <br>
          3) How to change the color in 3 lines of standard deviation, <br>
          correlation, and RMS?<br>
          <br>
          Thanks<br>
          <br>
          Tao<br>
          <br>
          <br>
          _______________________________________________<br>
          ncl-talk mailing list<br>
          <a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">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" class="moz-txt-link-freetext">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
        </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      <span class="gmail_signature_prefix">-- </span><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 IV, Climate Analysis Section</font></span></div>
                        <div><span><font color="#888888">Climate and
                              Global Dynamics Laboratory<br>
                            </font></span></div>
                      </div>
                      <div><span style="color:rgb(136,136,136)">National
                          Center for Atmospheric Research</span><span><font color="#888888"><br>
                          </font></span></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></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>