<div dir="ltr"><div>Hi Giulio,</div><div>The following should NOT work in your example (since you are not plotting a map plot here):<br></div><div> tb_plot = gsn_csm_contour_map(wks,tb,tres)</div><div><br></div><div>It should be " tb_plot = gsn_csm_contour(wks,tb,tres)"</div><div><br></div><div>I do not know if there are other issues, if there are please provide full script and a picture and may be the data file.</div><div><br></div><div>Cheers,</div><div>Rashed<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 20, 2019 at 11:49 AM G.Monte--- via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@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">Dears all,<br>
I have some problems in overlaying two plots onto the same contour map.<br>
The data fields to be overlayed are arranged into an ascii file and are<br>
read in the following way by NCL 6.4.0:<br>
;---read longitude<br>
lon = dataf(:,4)<br>
<br>
;---read latitude<br>
lat = dataf(:,3)<br>
<br>
;---read tb<br>
tb = dataf(:,6)<br>
<br>
;---read data<br>
flag = dataf(:,11)<br>
<br>
For plotting them, I follwed the template shown in overlay_12.ncl, where I<br>
set:<br>
;---Create the two plots<br>
tb_plot = gsn_csm_contour_map(wks,tb,tres)<br>
vv_plot = gsn_csm_contour(wks,flag,dres)<br>
;---Overlay the vv plot on the tb plot<br>
overlay(tb_plot,vv_plot)<br>
;---Drawing the tb plot will also draw vv plot<br>
draw(tb_plot)<br>
frame(wks)<br>
<br>
By doing so, only the second data field (named "flag") appeared in the<br>
plot, while the first field (named "tb") did not; it appears only if I<br>
plot them separately.<br>
I really don't understand the reason, I kindly ask you a suggestion.<br>
<br>
Thank you,<br>
Giulio<br>
<br>
_______________________________________________<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>