<div dir="ltr"><div>Hi,</div><div><br></div><div>In answer to your second question, regarding the paneling of overlay plots, it *may* be the case that you have to draw that "plot_stat" for each overlay. There's wording to this effect in the docs:</div><div><br></div><div>"Once you overlay <em>transform_id</em> plot, you can no longer draw it
separately. You can only draw the <em>base_id</em> plot, which causes
the base plot to be drawn along with all the plots that have been
overlaid on it."</div><div><br></div><div>which suggests to me that you can't reuse plot_stat for the second overlay. I don't know this for certain -- it is speculation and perhaps something to try out.</div><div><br></div><div>Its hard to say about your first question -- in what sense does it not work? We don't see all the resources you used -- is it the case you have:</div><div><br></div><div><div> res@gsnDraw = False ; Do not draw plot<br></div><div> res@gsnFrame = False ; Do not advance frame</div><div><br></div><div>for the first plot (plot_a)?<br></div><div><br></div><div>Rick<br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jan 12, 2019 at 12:27 PM Anne <<a href="mailto:anne.seidenglanz@unive.it">anne.seidenglanz@unive.it</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"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi everyone,</div><div dir="ltr"><br></div><div>basically, I am coming with 2 issues here:</div><div><br></div><div>1) I am trying to stipple the 95% statistical significance, for this purpose I have set 2 resource lists: one for the base contours, and one for the stat. significance contours on top. For the resource list on top, I have set </div><div><br></div><div><div> res2@cnMonoFillPattern = True</div><div> res2@cnFillPattern = 17</div></div><div><br></div><div>to get the dots instead of lines. Somehow that change didn't work. Did I miss something?</div><div><br></div><div>2) How do I panel plots that are produced using the 'overlay' procedure? I have tried using</div><div><br></div><div>plot(0) = overlay(plot1, plot_stat)</div><div>plot(1) = oberlay(plot2, plot_stat)</div><div><br></div><div>etc. but that gave me an error message.</div><div><br></div><div>Thanks for any help and sorry if I had missed these issues in earlier conversations.</div><div>Anne</div><div><br></div><div>- - - - - - - - - - - - - - - - - - - - - - - - - - </div><div>For point 1), here are my resources:</div><div><br></div><div>; ** PLOT1 **</div><div>... res1 resources, filled contours, all good....</div><div><br></div><div> plot_a = gsn_csm_contour_map (wks, var_diff(0,:,:), res)<br></div><div><br></div><div><div> ; ** PLOT 2 ***</div><div> res2 = True ; res2 probability plots</div><div> res2@gsnDraw = False ; Do not draw plot<br></div><div> res2@gsnFrame = False ; Do not advance frame</div><div><br></div><div> res2@cnLevelSelectionMode = "ManualLevels" ; set manual contour levels</div><div> res2@cnMinLevelValF = 90 ; set min contour level</div><div> res2@cnMaxLevelValF = 100 ; set max contour level</div><div> res2@cnLevelSpacingF = 0.1 ; set contour spacing</div><div><br></div><div> res2@cnMonoFillPattern = True</div><div> res2@cnFillPattern = 17</div><div> res2@cnFillDotSizeF = 0.5<br></div><div><br></div><div> res2@cnInfoLabelOn = False ; turn off info label</div><div> res2@cnLinesOn = False ; do not draw contour lines<br></div><div> res2@cnLineLabelsOn = False ; do not draw contour labels</div><div> res2@gsnLeftString = ""</div><div> res2@gsnRightString = ""</div><div><br></div><div> res2@gsnMaximize = True ; enlarge plot</div><div> res2@gsnAddCyclic = True</div><div><br></div><div> plot_stat = gsn_csm_contour(wks, aveX, res2) ; aveX = 95% stat sign. </div><div> overlay (plot_a, plot_stat)<br></div><div><br></div><div> draw(plot_a)</div><div> frame(wks)</div></div><div><br></div></div></div></div></div>
<br>
<div><font style="font-family:Arial,Helvetica,sans-serif" size="2">Nota automatica aggiunta dal sistema di posta.</font></div><div><img src="https://www.unive.it/media/banner_150.jpg"></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>