John,
See example 3 on the resizing page:
http://www.cgd.ucar.edu/csm/support/CSM_Graphics/resize.shtml
res@mpShapeMode = "FreeAspect"
res@vpWidthF = 0.8
res@vpHeightF = 0.4
Are the resources you are going to want to use...
Adam
>Delivered-To: asphilli@ucar.edu
>Delivered-To: ncl-talk@ucar.edu
>From: "Ertl, John" <John.Ertl@fnmoc.navy.mil>
>To: ncl-talk@ucar.edu
>Date: Fri, 13 Aug 2004 09:48:50 -0700
>MIME-Version: 1.0
>X-Mailman-Approved-At: Fri, 13 Aug 2004 10:42:50 -0600
>Subject: Ploting a map in a panel
>X-BeenThere: ncl-talk@ucar.edu
>X-Mailman-Version: 2.1.1
>List-Id: NCAR Command Language User Group <ncl-talk.ucar.edu>
>List-Unsubscribe: <http://mailman.ucar.edu/mailman/listinfo/ncl-talk>,
<mailto:ncl-talk-request@ucar.edu?subject=unsubscribe>
>List-Post: <mailto:ncl-talk@ucar.edu>
>List-Help: <mailto:ncl-talk-request@ucar.edu?subject=help>
>List-Subscribe: <http://mailman.ucar.edu/mailman/listinfo/ncl-talk>,
<mailto:ncl-talk-request@ucar.edu?subject=subscribe>
>X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_30 version=2.55
>X-Spam-Level:
>X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
>
>All,
>
>I have a great plot of a trajectory now but I want to make a single image of
>a meteogram and a map with the trajectory below it.
>
>The meteogram plots great but the map will not expand horizontally to fill
>the space I have assigned. I bet it has something to do with distorting the
>plot by stretching it horizontally but I cannot find anything about it. Any
>ideas.
>
>I have attached an image of the plot.
>
>Thanks,
>
>This is some of the paneling info I am using:
>
>---------------------- meteogram ----------------------------------
> rh_res@trYReverse = True ; Reverse the Y values.
> rh_res@gsnDraw = False ; Don't draw individual plot.
> rh_res@gsnFrame = False ; Don't advance frame.
>; rh_res@gsnMaximize = True ; Maximize plot in frame.
> rh_res@vpXF = 0.15 ; x location
> rh_res@vpYF = 0.75 ; y location
> rh_res@vpWidthF = 0.7 ; width
> rh_res@vpHeightF = 0.45 ; height
> rh_res@cnInfoLabelOn = False ; turn off cn info label
>
>; -------------------------- trajectory-------------------
>
> traj_res = True
> traj_res@tiMainString = "Trajectory"
> traj_res@gsnDraw = False
> traj_res@gsnFrame = False
>; traj_res@gsnMaximize = True ; Maximize plot in frame.
> traj_res@vpXF = 0.15 ; The left side of the box
> traj_res@vpYF = 0.22 ; The top side of the plot box
> traj_res@vpWidthF = 0.70 ; The Width of the plot box
> traj_res@vpHeightF = 0.20 ; The height of the plot box
>
> traj_res@mpProjection = "CylindricalEquidistant"
> traj_res@mpLimitMode = "Corners"
>
> traj_res@mpLeftCornerLatF = 27.0
> traj_res@mpLeftCornerLonF = 214.0
> traj_res@mpRightCornerLatF = 52.0
> traj_res@mpRightCornerLonF = 248.0
> traj_res@mpCenterLonF = 180
>
>
>
-------------------------------------------------------------
Adam Phillips email: asphilli@ucar.edu
Climate and Global Dynamics Division tel: (303) 497-1726
National Center for Atmospheric Research fax: (303) 497-1333
P.O. Box 3000
Boulder, CO 80307-3000 http://www.cgd.ucar.edu/~asphilli
_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Fri Aug 13 2004 - 15:32:43 MDT