<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi,</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I am trying to produce a portrait, three-panel plot of terrain heights from a nested WRF simulation. When my workstation output type is set to x11, the plots show up as a 3x1 column. However, when I change the workstation output type to pdf or ps, the plots are forced into landscape mode and some of the images are cut off. The plots come out as a 3x1 column that is rotated clockwise 90 degrees. I have tried setting the gsnPaperOrientation option to "portrait" in four different setting locations with no success. I receive no error messages when running the script, yet my settings are not being realized. </div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Has anyone found a way to force WRF panel plots into a specific paper orientation? </div><div><br></div><div><div class="gmail_default" style="font-family:tahoma,sans-serif">----------</div></div><div><div>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"</div><div>load "$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl"</div><div><br></div><div>begin</div><div><br></div><div>; type = "x11"</div><div> type = "pdf"</div><div>; type = "ps"</div><div>; type = "ncgm"</div><div>wks = gsn_open_wks(type,"panel_plot_geo_domains") ; Create a plot workstation</div><div><br></div><div>gsn_define_colormap(wks,"rainbow")</div><div>plot = new(3,graphic)</div><div><br></div><div>fdir = "/home/kholman/WRF/WPS3.7/"</div><div><br></div><div>res = True ; Create some plot resources</div><div>res@cnFillOn = True ; Create a color fill plot</div><div>res@cnLineLabelsOn = False</div><div>res@NoHeaderFooter = True</div><div>res@gsnSpreadColors = True</div><div>res@lbLabelBarOn = False</div><div>res@ContourParameters = (/0., 3500., 250./)</div><div>res@gsnPaperOrientation = "Portrait"</div><div><br></div><div>pltres = True</div><div>pltres@PanelPlot = True</div><div>pltres@gsnPaperOrientation = "Portrait"</div><div><br></div><div>mpres = True</div><div>mpres@mpGeophysicalLineColor = "Black" ; Overwrite basic map settings</div><div>mpres@mpGridLineColor = "Gray"</div><div>mpres@mpLimbLineColor = "Gray"</div><div>mpres@mpNationalLineColor = "Black"</div><div>mpres@mpPerimLineColor = "Black"</div><div>mpres@mpUSStateLineColor = "Black"</div><div>mpres@gsnPaperOrientation = "Portrait"</div><div><br></div><div>do j = 1,3</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>a = addfile(fdir+"geo_em.d0"+j+".nc","r") ; Open a file</div><div><br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>ter = a->HGT_M(0,:,:) ; Read the variable to memory</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>contour = wrf_contour(a,wks,ter,res)</div><div><br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>plot(j-1) = wrf_map_overlays(a,wks,(/contour/),pltres,mpres) ; Create plot</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>delete([/ter/])</div><div>end do</div><div><br></div><div>pnlres = True</div><div>pnlres@txString = "" </div><div>pnlres@gsnPanelYWhiteSpacePercent = 5 ; Add white space b/w plots.</div><div>pnlres@gsnPanelLabelBar = True ; Turn on common labelbar</div><div>pnlres@lbLabelAutoStride = True ; Spacing of lbar labels.</div><div>pnlres@lbBoxMinorExtentF = 0.15</div><div>pnlres@gsnPaperOrientation = "Portrait"</div><div><br></div><div>gsn_panel(wks,(/plot/),(/3,1/),pnlres)</div><div><br></div><div>end</div></div><div><br></div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><font face="arial, helvetica, sans-serif">Katie Holman, PhD<br></font></div><div><font face="arial, helvetica, sans-serif">Meteorologist</font></div><div><font face="arial, helvetica, sans-serif">Bureau of Reclamation<br></font></div><div><div><font face="arial, helvetica, sans-serif">Technical Service Center<br></font></div><div><font face="arial, helvetica, sans-serif">P.O. Box 25007, 86-68250</font></div><div><font face="arial, helvetica, sans-serif">Denver, CO 80225-0007</font></div><div><font face="arial, helvetica, sans-serif">303-445-2571</font></div></div><div><br></div></div></div>
</div>