<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Laura,<div>I think you want to use lgLabelFontColor. There's only one NCL example script that uses it, which you can find here:</div><div><a href="http://www.ncl.ucar.edu/Applications/Scripts/taylor_diagram_cam_uvic.ncl">http://www.ncl.ucar.edu/Applications/Scripts/taylor_diagram_cam_uvic.ncl</a><br></div><div><br></div><div>Note: There's an easier way to create legends that gives the user complete control over the legend items, sizing, and placement. Take a look at the simple_legend function:<br><a href="https://www.ncl.ucar.edu/Document/Functions/Shea_util/simple_legend.shtml">https://www.ncl.ucar.edu/Document/Functions/Shea_util/simple_legend.shtml</a><br></div><div>Adam</div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 12, 2019 at 4:22 PM Laura Fowler <<a href="mailto:laura@ucar.edu">laura@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 dir="ltr">Hello:<div><br></div><div>I have been fussing trying to get the labels of my legend be the same colors as in plot (see legend in the "a. panel" of the attached figure, i.e read and blue instead of black. I am sure that it should be rather straightforward but I cannot figure it out.</div><div><br></div><div>Here are the lines I used to create my legend.</div><div><br></div><div>
<p class="gmail-m_4955006769883591726gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(1,25,147)"><span class="gmail-m_4955006769883591726gmail-s1" style="font-variant-ligatures:no-common-ligatures">resL@pmLegendDisplayMode<span class="gmail-m_4955006769883591726gmail-Apple-converted-space"> </span>= "Always" <span class="gmail-m_4955006769883591726gmail-Apple-converted-space"> </span>; turn on legend</span></p>
<p class="gmail-m_4955006769883591726gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(1,25,147)"><span class="gmail-m_4955006769883591726gmail-s1" style="font-variant-ligatures:no-common-ligatures">resL@pmLegendSide <span class="gmail-m_4955006769883591726gmail-Apple-converted-space"> </span>= "Bottom" <span class="gmail-m_4955006769883591726gmail-Apple-converted-space"> </span>; Change location of</span></p>
<p class="gmail-m_4955006769883591726gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(1,25,147)"><span class="gmail-m_4955006769883591726gmail-s1" style="font-variant-ligatures:no-common-ligatures">resL@pmLegendParallelPosF <span class="gmail-m_4955006769883591726gmail-Apple-converted-space"> </span>= .85<span class="gmail-m_4955006769883591726gmail-Apple-converted-space"> </span>; move units right</span></p>
<p class="gmail-m_4955006769883591726gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(1,25,147)"><span class="gmail-m_4955006769883591726gmail-s1" style="font-variant-ligatures:no-common-ligatures">resL@pmLegendOrthogonalPosF = -0.7 <span class="gmail-m_4955006769883591726gmail-Apple-converted-space"> </span>; move units down</span></p>
<p class="gmail-m_4955006769883591726gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(1,25,147)"><span class="gmail-m_4955006769883591726gmail-s1" style="font-variant-ligatures:no-common-ligatures">resL@pmLegendWidthF <span class="gmail-m_4955006769883591726gmail-Apple-converted-space"> </span>= 0.10 <span class="gmail-m_4955006769883591726gmail-Apple-converted-space"> </span>; Change width and</span></p>
<p class="gmail-m_4955006769883591726gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(1,25,147)"><span class="gmail-m_4955006769883591726gmail-s1" style="font-variant-ligatures:no-common-ligatures">resL@pmLegendHeightF<span class="gmail-m_4955006769883591726gmail-Apple-converted-space"> </span>= 0.08 <span class="gmail-m_4955006769883591726gmail-Apple-converted-space"> </span>; height of legend.</span></p>
<p class="gmail-m_4955006769883591726gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(1,25,147)"><span class="gmail-m_4955006769883591726gmail-s1" style="font-variant-ligatures:no-common-ligatures">resL@lgPerimOn<span class="gmail-m_4955006769883591726gmail-Apple-converted-space"> </span>= False<span class="gmail-m_4955006769883591726gmail-Apple-converted-space"> </span>; turn off box around</span></p>
<p class="gmail-m_4955006769883591726gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(1,25,147)"><span class="gmail-m_4955006769883591726gmail-s1" style="font-variant-ligatures:no-common-ligatures">resL@lgLabelFontHeightF <span class="gmail-m_4955006769883591726gmail-Apple-converted-space"> </span>= .016 <span class="gmail-m_4955006769883591726gmail-Apple-converted-space"> </span>; label font height</span></p>
<p class="gmail-m_4955006769883591726gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(1,25,147)"><span class="gmail-m_4955006769883591726gmail-s1" style="font-variant-ligatures:no-common-ligatures">resL@lgLabelFont<span class="gmail-m_4955006769883591726gmail-Apple-converted-space"> </span>= 5<span class="gmail-m_4955006769883591726gmail-Apple-converted-space"> </span>; label font</span></p>
<p class="gmail-m_4955006769883591726gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(1,25,147)"><span class="gmail-m_4955006769883591726gmail-s1" style="font-variant-ligatures:no-common-ligatures">resL@xyMonoLineLabelFontColor = False</span></p>
<p class="gmail-m_4955006769883591726gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(1,25,147)"><span class="gmail-m_4955006769883591726gmail-s1" style="font-variant-ligatures:no-common-ligatures">resL@xyLineLabelFontColors<span class="gmail-m_4955006769883591726gmail-Apple-converted-space"> </span>= (/"red","blue"/)</span></p>
<p class="gmail-m_4955006769883591726gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(1,25,147)"><span class="gmail-m_4955006769883591726gmail-s1" style="font-variant-ligatures:no-common-ligatures">resL@xyExplicitLegendLabels = (/" s"," (1-s)~S~2~N~"/) ; create explicit labels</span></p></div><div><br></div><div><br></div><div>I get the error messages that xyMonoLineLabelFontColor and LineLabelFontColors are not available resources. Can you help, please.</div><div><br></div><div>Many thanks,</div><div>Laura</div><div><br>-- <br><div dir="ltr" class="gmail-m_4955006769883591726gmail_signature"><div dir="ltr"><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">!-------------------------------------------------------------------------------------------------------------</font><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">Laura D. Fowler </font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">Mesoscale and Microscale Meteorology Division (MMM) </font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">National Center for Atmospheric Research<br></font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">P.O. Box 3000, Boulder CO 80307-3000</font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">e-mail: <a href="mailto:laura@ucar.edu" target="_blank">laura@ucar.edu</a></font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">phone: 303-497-1628</font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">!-------------------------------------------------------------------------------------------------------------</font><br></div></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</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>