Problem with spacing between plots in a panel plot

From: Soumik Basu <sbasu_at_nyahnyahspammersnyahnyah>
Date: Thu Jul 05 2012 - 18:21:19 MDT

Hi,

I am trying to create a panel plot containing 6 plots. But I am having
problem with the space between the plots.I am plotting the first four
plots with a particular colorbar and the last two with another
colorbar.
Can anybody please suggest me what is going wrong.

The panel plot resources (I am sending only the two separate resource
parts of my script) I am using are as follows:

;************************************************
; create first set panel plot(top four of the panel)
;************************************************
    resPanel = True

    resPanel@gsnFrame = False

    resPanel@gsnSpreadColors = True
    resPanel@gsnPanelLabelBar = True ; add
color bar
    resPanel@gsnPanelFigureStrings = (/"a","b","c","d"/)
    resPanel@gsnPanelFigureStringsFontHeightF = 0.02
    resPanel@gsnPanelFigureStringsPerimOn = True
    resPanel@gsnPanelDebug = True
    resPanel@gsnPanelTop = 0.9
    resPanel@gsnPanelBottom = 0.3 ;move bottom up
from 0 to 0.4
    resPanel@gsnPanelLeft = 0.0
    resPanel@gsnPanelRight = 0.9
    resPanel@gsnPanelDebug = True

    resPanel@lbOrientation = "Vertical"
    resPanel@lbLabelAutoStride = False
    resPanel@lbLabelStride = 5

    gsn_panel(wks,plot,(/2,2/),resPanel)

;************************************************
; create last 2 of panel plot
;************************************************
    dresPanel = True

    dresPanel@gsnFrame = False
    dresPanel@gsnSpreadColors = True
    dresPanel@gsnMaximize = True ; use full
page
    dresPanel@gsnPanelLabelBar = True ; add
color bar
    dresPanel@gsnPanelTop = 0.3
    dresPanel@gsnPanelBottom = 0.1
    dresPanel@gsnPanelLeft = 0.0
    dresPanel@gsnPanelRight = 0.9
    dresPanel@gsnPanelFigureStrings = (/"e","f"/)
    dresPanel@gsnPanelFigureStringsFontHeightF = 0.02
    dresPanel@gsnPanelFigureStringsPerimOn = True
    dresPanel@gsnPanelDebug = True

    dresPanel@lbOrientation = "Vertical"
    dresPanel@lbLabelAutoStride = False
    dresPanel@lbLabelStride = 10

    gsn_panel (wks,plot1,(/1,2/),dresPanel)
    frame(wks)

Thanks,
Soumik

-- 
"Numbing the pain for a while will make it worse when you finally feel 
it.
  ~J.K. Rowling"
*****************************************
Soumik Basu
Graduate Student, Research Assistant
International Arctic Research Center
University of Alaska Fairbanks
Fairbanks,Alaska,USA
*****************************************


_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Received on Thu Jul 5 18:21:54 2012

This archive was generated by hypermail 2.1.8 : Mon Jul 09 2012 - 10:45:32 MDT