How to plot figures as large as I want

From: guangshan Chen <gchen9_at_nyahnyahspammersnyahnyah>
Date: Tue, 17 Apr 2007 22:03:16 -0500

Dear NCL users,

Now I want to plot seven figures on one page. When I did these,
seven figures are very smaller than I expected.

Any suggestion will be appreciated. Thanks

Here is the script that I used:

print("Ploting ps file")
wks = gsn_open_wks("ps","solin_vs_sst_belt_ss_nh_DJF")
plot = new(7,"graphic")

res1 = True
res1_at_gsnDraw = False
res1_at_gsnFrame = False

res1_at_gsnLeftString="";
res1_at_gsnRightString=""

res1_at_tiXAxisString="time(years BP)"
res1_at_tiXAxisFontHeightF = 0.015
res1_at_tiYAxisString="DJF mean insolation [W/m^2]"
res1_at_tiYAxisFontHeightF = 0.015

res1_at_trYMinF = -40
res1_at_trYMaxF = 40
res1_at_trXReverse=True
res1_at_trXMaxF=timelen

res1_at_tmXBMode = "Explicit" ; Define tick mark
labels.
res1_at_tmXBValues = (/
3000,2750,2500,2250,2000,1750,1500,1250,1000,750,500,250,0/)
res1_at_tmXBLabels = (/
300000,275000,250000,225000,200000,175000,150000,125000,100000,75000,500
00,25000,0/)
res1_at_tmXBLabelFontHeightF = 0.01 ; resize tick labels
res1_at_tmYLLabelFontHeightF = 0.01 ; resize tick labels

res1_at_xyDashPatterns = (/1./)
res1_at_xyLineThicknesses = (/3./)
res1_at_xyLineColors = (/"black"/)

res1_at_pmLegendDisplayMode = "Always" ; turn on legend
res1_at_pmLegendZone = 0
res1_at_pmLegendSide = "Top" ; Change location of
res1_at_lgJustification = "BottomRight"
res1_at_pmLegendOrthogonalPosF = 0.35 ; more neg = down
res1_at_pmLegendParallelPosF = 0.05 ; more neg = left
res1_at_pmLegendWidthF = 0.08 ; Change width and
res1_at_pmLegendHeightF = 0.04 ; height of legend.
res1_at_lgLabelFontHeightF = .008 ; change font
height
res1_at_lgPerimOn = False ; with box around
or not
res1_at_xyExplicitLegendLabels = (/" Solin "/)

res1_at_vpXF = 0.02 ; x location
; res1_at_vpYF = 0.98 ; y location
res1_at_vpHeightF = 0.3 ; height
res1_at_vpWidthF = 0.99 ; width

res2 = True
res2_at_gsnDraw = False
res2_at_gsnFrame = False

res2_at_tiXAxisString="time(years BP)"
res2_at_tiXAxisFontHeightF = 0.015
res2_at_tiYAxisString="SST [k]"
res2_at_tiYAxisFontHeightF = 0.015
res2_at_trYMinF = -1.6
res2_at_trYMaxF = 1.6
res2_at_trXReverse=True
res2_at_trXMaxF=timelen

res2_at_xyDashPatterns = (/0.,0./)
res2_at_xyLineThicknesses = (/1.,1./)
res2_at_xyLineColors = (/"red","blue"/)

res2_at_pmLegendDisplayMode = "Always" ; turn on legend
res2_at_pmLegendZone = 0
res2_at_pmLegendSide = "Top" ; Change location of
res2_at_lgJustification = "BottomRight"
res2_at_pmLegendOrthogonalPosF = 0.35 ; more neg = down
res2_at_pmLegendParallelPosF = 0.35
res2_at_pmLegendWidthF = 0.08 ; Change width and
res2_at_pmLegendHeightF = 0.04 ; height of legend.
res2_at_lgLabelFontHeightF = .008 ; change font
height
res2_at_lgPerimOn = False ; no box around
res2_at_xyExplicitLegendLabels = (/" Orig. "," Run mean"/)

res2_at_gsnLeftString=""
res2_at_gsnCenterString=""
res2_at_gsnRightString=""
res3 = True
res3_at_gsnDraw = False
res3_at_gsnFrame = False
res3_at_tiYAxisString="Std. dev"
res3_at_tiYAxisFontHeightF = 0.015

res3_at_trXReverse= True
; res3_at_trXMaxF= timelen

res3_at_tmYRAutoPrecision = False
res3_at_tmYRPrecision = 3

res3_at_xyDashPatterns = (/0./)
res3_at_xyLineThicknesses = (/0.5/)
res3_at_xyLineColors = (/"green"/)

   plotname =
(/"60N-80N","50N-70N","40N-60N","30N-50N","20N-40N","10N-30N","0N-20N"/)
   do j = 0, n_belts-1; n_belts = 7
   k = n_belts - 1 - j
   res1_at_gsnCenterString= plotname(j) + " DJF"
   res3_at_trYMinF = min(sst_rundev_data(k,:))
   res3_at_trYMaxF = max(sst_rundev_data(k,:))
   plot(j) = gsn_csm_xy3(wks,time,solin_data(k,:),sst_data
(:,k,:),sst_rundev_data(k,:),res1,res2,res3)
   end do

   pres = True ; mod panel plot
   pres_at_gsnDraw=True
   pres_at_gsnFrame=True
   pres_at_gsnMaximize = True ; blow up plot
   pres_at_gsnPaperWidth=8.5
   pres_at_gsnPaperHeight=11.0
   pres_at_gsnPaperOrientation="portrait"
   pres_at_gsnPaperMargin=0.02
   pres_at_gsnPanelLeft = 0.06
   pres_at_gsnPanelRight = 0.96
   pres_at_gsnPanelBottom = 0.02
   pres_at_gsnPanelTop = 0.99
   pres_at_gsnPanelYWhiteSpacePercent = 2
   pres_at_gsnPanelXWhiteSpacePercent = 1
   pres_at_gsnPanelRowSpec = True
   gsn_panel(wks,plot,(/1,1,1,1,1,1,1/),pres)

Guangshan Chen

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Apr 17 2007 - 21:03:16 MDT

This archive was generated by hypermail 2.2.0 : Sat Apr 21 2007 - 12:15:57 MDT