What I do when I make such plots is to set the plot area to some very small box near the corner of the virtual page, set the display variables that I used to make the panels (I assume you used the same clevs and ccols for each), display any variable (doesn't have to be the same one you displayed in the panels), then draw a filled rectangle with the same color as that of the background to cover up the few markings that will appear (if you set parea right, this won't cover up any of the panels), then run the cbar script normally (might want to adjust the arguments for where the center of the bar is placed) and it should come up how you want). I've attached an example image and the relevant code.<br>
<br>*Resetting the page to draw the colorbar. Need to do some tricks to get it to work the way I want it to, though.<br>'set parea off'<br>'set parea 10.99 11 8.49 8.5'<br>'set clevs 0 10 20 30 40 50 60 70 80 90 100'<br>
'set ccols 20 21 22 23 24 25 26 27 28 29 30 31'<br>'set grads off'<br>'set gxout shaded'<br>'d u.1'<br>'run ......<a href="http://cbar.gs">cbar.gs</a>'<br>'set line 0'<br>'draw recf 10.5 8.25 11 8.5'<br>
<br>Hope this helps.<br><br>Jeff Duda<br><br><div class="gmail_quote">On Wed, Sep 14, 2011 at 2:23 PM, SMITH, JONATHAN WYNN. (GSFC-6133) <span dir="ltr"><<a href="mailto:jonathan.smith@nasa.gov">jonathan.smith@nasa.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Grads help<br>
I want to generate one vertical (y-axis - oriented) colorbar for the entire 8 panel plot that is attached.<br>
I have attached a script that generates it the 8 panel plot and my attempt at the vertical colorbar. The script shows where I have attempted to use xcbar. I have been unsuccessful with it. Any help is greatly appreciated.<br>
<br>
Jonathan<br>
<br>
<br>
Jonathan Wynn Smith<br>
Student Trainee<br>
<a href="mailto:jonathan.smith@nasa.gov">jonathan.smith@nasa.gov</a><br>
NASA/Goddard Space Flight Center<br>
Code 613.3 - Atmospheric Chemistry and Dynamics Branch<br>
Greenbelt, MD 20771<br>
<a href="tel:301-614-5956" value="+13016145956">301-614-5956</a><br>
<br>
Doctoral Candidate<br>
<a href="mailto:jonathan.smith@bison.howard.edu">jonathan.smith@bison.howard.edu</a><br>
Howard University Program in Atmospheric Sciences<br>
Washington, DC 20059<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Jeff Duda<br>Iowa State University<br>Meteorology Graduate Student<br><a href="http://www.meteor.iastate.edu/%7Ejdduda" target="_blank">www.meteor.iastate.edu/~jdduda</a><br>