<div dir="ltr"><div><div><div><div><div><div>Hello,<br><br></div>I am trying to make a panel plot of 3 figures. But, whenever I am saving it in .pdf format the plots are appearing in landscape orientation.  <br><br></div>I tried both @wkOrientation  and @gsnPaperOrientation but none of those worked. <br><br></div>I am attaching the plot. Resources for the plot are as follows: <br><br>;*************************************************<br>; Plot<br>;*************************************************<br>  res                              = True    <br>  res@gsnMaximize                  = True<br>  res@gsnSpreadColors              = True     <br>;  res@gsnPolar                     = &quot;NH&quot;<br>  res@gsnDraw             = False           ; don&#39;t draw<br>  res@gsnFrame            = False           ; don&#39;t advance frame<br><br>  res@cnFillOn                     = True               <br>  res@cnLinesOn                    = False  <br>  res@cnLevelSelectionMode         = &quot;ManualLevels&quot;           <br>  res@cnMinLevelValF               = -5<br>  res@cnMaxLevelValF               =  5<br>  res@cnLevelSpacingF              = 0.1<br>  res@cnLineLabelsOn               = False<br><br>  res@lbLabelStride                = 50   <br>  res@lbOrientation                = &quot;horizontal&quot;       ;vertical label bar<br>  res@lbLabelBarOn                 = False  <br><br>  res@tmLabelAutoStride            = True<br>  res@tmXTOn                       = False<br>  res@tmYROn                       = False<br>  <br>  res@mpLimitMode                  = &quot;LatLon&quot; <br>  res@mpMinLatF                    = 30.<br>  res@mpMaxLatF                    = 90.<br>  res@mpMinLonF                    = 0.<br>  res@mpMaxLonF                    = 150.<br>  res@mpCenterLonF                 = 75<br>  res@mpGeophysicalLineThicknessF  = 1.5<br><br><br><br>  sres                              = True    <br>  sres@gsnMaximize                  = True<br>  sres@gsnSpreadColors              = True     <br>  sres@gsnDraw                      = False                   ; do not draw the plot<br>  sres@gsnFrame                     = False    <br><br>  sres@cnFillOn                     = True               <br>  sres@cnLinesOn                    = False<br>  sres@cnLevelSelectionMode         = &quot;ManualLevels&quot;           <br>  sres@cnMinLevelValF               = 0<br>  sres@cnMaxLevelValF               = 80<br>  sres@cnLevelSpacingF              = 5<br>  sres@cnLineLabelsOn               = False<br><br>  sres@lbLabelBarOn                 = False  <br>  sres@lbLabelStride                = 5   <br>  sres@lbOrientation                = &quot;horizontal&quot;       ;vertical label bar<br><br>  sres@tmLabelAutoStride            = True<br>  sres@tmXTOn                       = False<br>  sres@tmYROn                       = False<br>  <br>  sres@mpLimitMode                  = &quot;LatLon&quot; <br>  sres@mpMinLatF                    = 30.<br>  sres@mpMaxLatF                    = 90.<br>  sres@mpMinLonF                    = 0.<br>  sres@mpMaxLonF                    = 150.<br>  sres@mpCenterLonF                 = 75<br>  sres@mpGeophysicalLineThicknessF  = 1.5<br><br>  <br>;*****************************************************<br>;               Plot<br>;*****************************************************<br>  plot1 = new(1,graphic)  <br><br>  wks = gsn_open_wks(&quot;x11&quot;,&quot;cyclone_density_diff_all_model&quot;)   <br>;  wks@wkOrientation = &quot;potrait&quot;      <br>  gsn_define_colormap(wks,&quot;sunshine_9lev&quot;)  <br><br>  plot1(0) = gsn_csm_contour_map_ce(wks,den_mean_ensemble,sres)<br><br> ;***************************************<br>; panel first plot<br>;***************************************<br>  pres1                     = True<br>  pres1@gsnPanelLabelBar    = True       ; common label bar<br>  pres1@gsnFrame            = False      ; don&#39;t advance frame yet<br>  pres1@gsnPanelFigureStrings    = (/&quot;HIST&quot;/)<br><br>  pres1@lbOrientation       = &quot;vertical&quot; ; vertical label bar<br>  pres1@lbBoxLinesOn        = False<br><br>; we use PanelBottom to tell the plot to only draw in the top part of the page.<br>; since there are two plots here, and we have limited the plot to the upper<br>; 0.4 of the page, each plot will have a size 0.3.<br><br>  pres1@gsnPanelBottom      = 0.7        ; move bottom up from 0.0 to 0.6<br>;  pres1@gsnPaperOrientation = &quot;potrait&quot; <br><br>  pres1@gsnPanelFigureStringsBackgroundFillColor = -1<br>  pres1@amJust              = &quot;TopRight&quot;<br><br>  gsn_panel(wks,plot1,(/1,1/),pres1)<br><br>;**************************************<br>; panel next two plots<br>;**************************************<br>  plot = new(2,graphic)  <br><br>  gsn_define_colormap(wks,&quot;BlueWhiteOrangeRed&quot;)<br>  <br>  plot(0) = gsn_csm_contour_map_ce(wks,den_diff_ensemble1,res)<br>  <br>  plot(1) = gsn_csm_contour_map_ce(wks,den_diff_ensemble,res)<br><br>  pres2                     = True<br>  pres2@gsnPanelLabelBar    = True       ; common label bar<br>  pres2@lbLabelStride       = 10   <br>  pres2@gsnPanelTop         = 0.7        ; draw up to the bdry of upper plot<br>  pres2@gsnPanelBottom      = 0.1        ; move bottom up so size is 0.3<br>  pres2@gsnFrame            = False      ; don&#39;t advance frame yet<br><br><br>  pres2@gsnPanelFigureStrings    = (/&quot;RCP4.5 - HIST&quot;,&quot;RCP8.5 - HIST&quot;/)<br>  pres2@gsnPanelFigureStringsBackgroundFillColor = -1<br><br>  pres2@amJust              = &quot;TopRight&quot;<br><br>  pres2@lbOrientation       = &quot;vertical&quot; ; vertical label bar<br>  pres2@lbBoxLinesOn        = False<br><br>  gsn_panel(wks,plot,(/2,1/),pres2)<br><br>; now advance frame for all plots<br><br>  frame(wks)<br> <br>  end<br><br></div>Thank you in advance for any help. <br><br></div>Thanks,<br></div>Soumik<br clear="all"><div><div><div><div><div><div><div><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div>-- </div><div>&quot;Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning.&quot; - Albert Einstein</div><div><br></div><div>**************************************************************************************************</div><div>Dr. Soumik Basu</div><div>Post Doctoral Fellow, International Arctic Research Center, UAF, Fairbanks, AK, USA</div><div>Nanjing University of Information Science and Technology, Nanjing, China</div><div>PhD in Atmospheric Sciences</div><div>M.Sc. in Atmospheric Sciences</div><div>Email: <a target="_blank" href="mailto:suvro05@gmail.com">suvro05@gmail.com</a></div><div>website: <a target="_blank" href="http://soumikbasu.weebly.com/">http://soumikbasu.weebly.com/</a></div><div><br></div><div>***************************************************************************************************</div></div></div></div>
</div></div></div></div></div></div></div></div>