<div dir="ltr"><div>When I wrote the functions, my focus was on doing the computations and graphics correctly. Paneling the graphics was not a priority. To be honest, I did not even think about paneling. :-(<br></div><div><br>It would be possible to restructure ('refactor') the code. However, it would require some time and .effort. <br></div><div>[1] copy the code:<br></div><div> cp $NCARG_ROOT/lib/ncarg/nclscripts/csm/diagnostics_cam.ncl diagnostics_cam.panel.ncl<br><br>[2] Change the local code: add 'res@gsnDraw=False' in multiple places; change 'polyline' procedure calls to the 'gsn_add_polyline' functions, etc <br><br>---<br><br></div><div>Perhaps, using Imagemagick's 'convert' tool. <br><br></div><div>%> convert <return><br><br></div><div>See the -append /+append options<br><br><div>I have not used the 'append' option very often. 'convert' has other
options that may also be of use. See: <br><br> <a href="http://www.imagemagick.org/Usage/layers/" target="_blank">http://www.imagemagick.org/<wbr>Usage/layers/</a><br><br></div>This link has numerous examples. <br></div><div><br>------<br><br></div><div>Consider image1.png, image2.png, image3.png, image4.png<br><br>%> convert -append image1.png image2.png IMAGE_12.TopBottom.png<br></div><div>%> display IMAGE_12.TopBottom.png<br><br></div><div>%> convert -append image3.png image4.png IMAGE_34.TopBottom.png<br>%> display IMAGE_34.TopBottom.png<br><br>%> convert +append IMAGE_12.TopBottom.png IMAGE_34.TopBottom.png IMAGE_2x2.png<br></div><div>%> display IMAGE_2x2.png<br><br>---<br></div><div>This type of thing could be invoked within an NCL script to save manually doing it. How?<br>After the 'image[1-4].png' have been created .... EG<br><br><pre> w<span style="font-family:arial,helvetica,sans-serif">kSpaceTime (u, diro, case, VAR, ,latBound, spd , nDayWin, nDaySkip, opt ) ; create images
</span></pre></div><div> system("convert -append image1.png image2.png IMAGE_12.TopBottom.png")<br></div><div> system("convert -append image3.png image4.png IMAGE_34.TopBottom.png")<br></div><div> system("convert +append IMAGE_12.TopBottom.png IMAGE_34.TopBottom.png IMAGE_2x2.png")<br></div><div> system("rm IMAGE*TopBottom.png")</div><div><br>---<br>Two on top; one at bottom<br><br>%> convert +append image1.png image2.png IMAGE_12.LeftRight.png<br><div>%> display IMAGE_12.LeftRight.png<br><br></div><div>%> convert -append IMAGE_12.LeftRight.png image3.png IMAGE_123.png<br>%> display IMAGE_123.png<br><br></div><div>I am sure you can 'center' the bottom figure but I'll leave that up to you. :-)<br></div><br>----<br></div><div>From the above link: 10 figures<br></div><div><pre><code><span style="font-family:arial,helvetica,sans-serif">convert \( font_1.gif font_2.gif font_3.gif +append \) \
\( font_4.gif font_5.gif font_6.gif +append \) \
\( font_7.gif font_8.gif font_9.gif +append \) \
\( -size 32x32 xc:none font_0.gif +append \) \
-background none -append append_array.gif</span>
</code></pre><br></div><div><br>I hope it works for you.<br><br></div><div>Good luck<br></div><div>D<br></div><div><br><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 27, 2017 at 5:45 PM, Millie J <span dir="ltr"><<a href="mailto:millie.jyo@gmail.com" target="_blank">millie.jyo@gmail.com</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">Hi,<div><br><div>Is there a way to plot the Wheeler-Kiladis space-time spectra (Figs. 1 to 3), for multiple model outputs, on a single graphic plot? Thanks.</div><div>Jyothi</div><div><br></div><div><br></div><div>Jyothi Nattala</div><div>GMAO / NASA GSFC</div></div></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>