<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>I would like to pick up an issue on scripts running slow that contain the gsn_contour_shade function (see conversation below from 2011). </div><div>My question is: has there been found any solution to this problem?? I am trying to plot a panel plot with 6 plots which each of them has the significance stippling  overlaid, but really takes forever..:/</div><div><br></div><div>I used </div><div><br></div><div>      opt@gsnShadeHigh = 4<br></div><div><br></div><div>and </div><div><br></div><div><div>         plot(0) = gsn_csm_contour_map(wks, var_diff_ensmean(0,:,:), res)</div><div>         plot0   = gsn_csm_contour(wks, prob_nov, res2)      </div><div>         plot0   = gsn_contour_shade(plot0, 10e-7, 1.96, opt)     </div><div>        overlay(plot(0),plot0)</div></div><div><br></div><div><br></div><div>Any ideas?:)</div><div>Thanks</div><div>Anne </div><div><br></div><div><br></div><div><br></div><div><p style="color:rgb(0,0,0);font-family:Times;font-size:medium">Hi Steve, <br></p><p style="color:rgb(0,0,0);font-family:Times;font-size:medium">I would like to know why it takes so long too! I see you are doing raster contours, which would have been the first thing I'd ask you to try (the default "area fill" filled contours can be slow). <br></p><p style="color:rgb(0,0,0);font-family:Times;font-size:medium">Can you poing me to the script and data on mirage? Feel free to send me a personal email on this. <br></p><p style="color:rgb(0,0,0);font-family:Times;font-size:medium">Thanks, <br></p><p style="color:rgb(0,0,0);font-family:Times;font-size:medium">--Mary <br></p><p style="color:rgb(0,0,0);font-family:Times;font-size:medium">On Apr 11, 2011, at 11:37 AM, Stephen Yeager wrote: <br></p><p style="color:rgb(0,0,0);font-family:Times;font-size:medium"><em class="gmail-quotelev1" style="color:rgb(153,0,153)">> </em><br><em class="gmail-quotelev1" style="color:rgb(153,0,153)">> Hello: </em><br><em class="gmail-quotelev1" style="color:rgb(153,0,153)">> </em><br><em class="gmail-quotelev1" style="color:rgb(153,0,153)">> I've attached an ncl script which can be run on mirage. It generates </em><br><em class="gmail-quotelev1" style="color:rgb(153,0,153)">> a 16-panel plot. Once the computation is done (a minute, perhaps), it takes about 10-20 seconds to generate the final plot. </em><br><em class="gmail-quotelev1" style="color:rgb(153,0,153)">> </em><br><em class="gmail-quotelev1" style="color:rgb(153,0,153)">> However, when I add shading onto the contour plots using either </em><br><em class="gmail-quotelev1" style="color:rgb(153,0,153)">> ShadeLtContour() or gsn_contour_shade() </em><br><em class="gmail-quotelev1" style="color:rgb(153,0,153)">> </em><br><em class="gmail-quotelev1" style="color:rgb(153,0,153)">> it takes more than 30 minutes to finish! I like the resulting page of plots, but would like to know why it takes so long to complete, and how I might speed it up. </em><br><em class="gmail-quotelev1" style="color:rgb(153,0,153)">> </em><br><em class="gmail-quotelev1" style="color:rgb(153,0,153)">> Thanks, </em><br><em class="gmail-quotelev1" style="color:rgb(153,0,153)">> Steve </em></p></div></div></div></div>