<div dir="ltr"><div><div><div>HI,<br><br></div>I don't know offhand, but have you tried setting the Above/BelowYRefLineColor resources to an RGBa tuple? Ex:<br><br><span style="color:rgb(0,0,0)">res@gsnAboveYRefLineColor = (/1., 0., 0., 0.3/) ; "red" with opacity 0.3 <br>res@gsnBelowYRefLineColor = (/0., 0., 1., 0.3/) ; "blue" " " "<br><br></span></div><span style="color:rgb(0,0,0)">Hope that helps. If not, and if you can share your script, I'll look further into it (you can send it directly to me).</span></div><div><span style="color:rgb(0,0,0)"><br></span></div><span style="color:rgb(0,0,0)">Rick<br></span></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 29, 2017 at 10:41 AM, Ioana Colfescu <span dir="ltr"><<a href="mailto:ioana.colfescu@ncas.ac.uk" target="_blank">ioana.colfescu@ncas.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Hi, <br></div>I created the attached plot and I'd like to change the opacity of the blue and the red colors in it. <br></div>I tried the suggestions I found <span style="color:rgb(0,0,0)">online at <a href="https://www.ncl.ucar.edu/Applications/rgbacolor.shtml" target="_blank">https://www.ncl.ucar.edu/<wbr>Applications/rgbacolor.shtml</a> ( ttied changing cnFillOpacityF
vcGlyphOpacityF, stLineOpacityF,
gsFillOpacityF , gsLineOpacityF,
gsMarkerOpacityF,
txFontOpacityF) but I did not get any change yet. <br></span></div><span style="color:rgb(0,0,0)">Does anyone know what the correct option I should use is ? <br></span></div><span style="color:rgb(0,0,0)">The relevant part of my code is below and the plot is attached. <br></span></div><span style="color:rgb(0,0,0)">Thanks, <br></span></div><span style="color:rgb(0,0,0)">Ioana </span></div><div><span style="color:rgb(0,0,0)"><br></span></div><span style="color:rgb(0,0,0)">res@gsnYRefLine = 0.0<br>res@xyLineThicknessF = 3.0<br>res@gsnAboveYRefLineColor = "red" <br>res@gsnBelowYRefLineColor = "blue" <br>;res@gsnXYFillOpacities = (/0.3,0.3,1.0/)<br>plot(0) = gsn_csm_xy (wks,year, amoAnnSmth ,res) <br></span><span class="HOEnZb"><font color="#888888"><div><span style="color:rgb(0,0,0)"><br></span><div><div><div><div><span style="color:rgb(0,0,0)"><br></span><div><div><div><div><div><div class="m_-5622310267573314978gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><span style="background-color:rgb(255,255,255)"><span style="color:rgb(61,133,198)"><span style="font-family:georgia,serif"><span><b>Ioana Colfescu </b><br></span></span></span></span></div><div><span style="background-color:rgb(255,255,255)"><span style="color:rgb(61,133,198)"><span style="font-family:georgia,serif"><span>Research Scientist <br></span></span></span></span></div><div><span style="background-color:rgb(255,255,255)"><span style="color:rgb(61,133,198)"><span style="font-family:georgia,serif"><span>National Centre for Atmospheric Science <br></span></span></span></span></div><div><span style="background-color:rgb(255,255,255)"><span style="color:rgb(61,133,198)"><span style="font-family:georgia,serif"><span>School of Earth and Environment <br></span></span></span></span></div><div><span style="background-color:rgb(243,243,243)"><span style="color:rgb(159,197,232)"><span><span style="font-family:georgia,serif"><span><span style="background-color:rgb(255,255,255)"><span style="color:rgb(61,133,198)">University of Leeds </span></span><br></span></span></span></span></span></div><div dir="ltr"><span style="color:rgb(159,197,232)"><span><span style="font-family:georgia,serif"><span><br></span></span></span></span></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div></div></div></div></div></div></div></div></font></span></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">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/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>