<div dir="ltr">Hi Yann,<div>Without seeing more of your script, I do not believe there is much for ncl-talk to go on. Please send your complete script and an example of the output graphic, and also please tell us the NCL version you are running.</div><div><br></div><div>As always, please respond to the ncl-talk email list.</div><div>Adam </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 8, 2015 at 10:45 PM, Yann Bertrand <span dir="ltr"><<a href="mailto:yann74@yahoo.fr" target="_blank">yann74@yahoo.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12px"><div>Dear users,</div><div><br></div><div>I try to overlay a contour over another contour.</div><div>My problem is :</div><div>when I overlay I can only see the last (in order) contour.</div><div>I have tried to use :</div><div dir="ltr">prec_res@cnFillOpacityF = .7<br></div><div dir="ltr">it not works as i would expect, colors are merged,</div><div dir="ltr">I would like to really have "prec_plot" over "to_plot".</div><div dir="ltr">In my color triplet for prec_plot, when data=0 white color is (user) defined, not transpartent, is the problem there ?.</div><div dir="ltr"><br></div><div dir="ltr">Here is a part of my code :</div><div dir="ltr"><br></div><div dir="ltr">;---------------</div><div dir="ltr">;MAP</div><div dir="ltr">;---------------</div><div dir="ltr"><br></div><div dir="ltr">res@mpOutlineDrawOrder = "PostDraw" <br></div><div>res@gsnDraw = False</div><div>res@gsnFrame = False</div><div dir="ltr">plot = gsn_csm_map(wks,res)</div><div dir="ltr"><br></div><div dir="ltr">;------------------</div><div dir="ltr">;TO_PLOT</div><div dir="ltr">;------------------</div><div dir="ltr"><br></div><div dir="ltr">gsn_define_colormap(wks, to_colors) ; RGB triplet user defined<br></div><div dir="ltr">to_plot = gsn_csm_contour(wks, to_cloud,to_res)</div><div><br></div><div dir="ltr">;---------------------</div><div dir="ltr">;PREC_PLOT</div><div dir="ltr">;---------------------</div><div dir="ltr"><br></div><div dir="ltr">gsn_define_colormap(wks, prec_color) ; RGB triplet user defined</div><div dir="ltr">prec_plot = gsn_csm_contour(wks,prec,prec_res)<br></div><div><br></div><div dir="ltr">overlay (plot, to_plot)</div><div>overlay (plot, prec_plot)</div><div dir="ltr">draw(plot)<br></div></div></div><br>_______________________________________________<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/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div 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>
</div>