>
> Hi Keith
>
> The CSM Support URL / Graphics has an example. There is a
> resource called freeAspect or some such thing that
> allows u to control the aspect ratio. I am at
> a mtg but Sylvia can point u toward
> the appropriate example.
>
> D
The "some such thing" is a resource called "mpShapeMode", and you can
set it to "FreeAspect" to control the width and the height of your
plot using the vpWidthF and vpHeightF examples.
You can see an example at:
http://www.cgd.ucar.edu/csm/support/CSM_Graphics/resize.shtml
Look at example #3 in particular.
The "mpShapeMode" resource is documented at:
http://ngwww.ucar.edu/ngdoc/ng/ref/hlu/obj/MapPlot.res.html#mpShapeMode
--Mary
> On Thu, 5 Dec 2002, Keith Oleson wrote:
>
> > Hi,
> >
> > I have three contour plots that are 60 degrees in latitude and 360 degrees
> > in longitude. No matter what I do when I panel these plots, the aspect ratio
> > stays the same (longitude axis is six times the length of the latitude axis).
> > How do I disable this so that I can control the height and width of each
> > plot independently? I've tried viewport specifications but the aspect ratio
> > stays the same. Setting gsnScale to False doesn't help either.
> >
> > Thanks,
> > Keith
> >
> >
> > ____________________________________________________________________________
> > Keith Oleson oleson@ucar.edu
> > Terrestrial Sciences Section Work Phone: 303-497-1332
> > Climate and Global Dynamics Division Fax: 303-497-1695
> > National Center for Atmospheric Research Express mail: NCAR
> > P.O. Box 3000 3080 Center Green Dr.
> > Boulder, CO 80307 Boulder, CO 80301
> >
> > _______________________________________________
> > ncl-talk mailing list
> > ncl-talk@ucar.edu
> > http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> >
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk@ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2b29 : Thu Dec 05 2002 - 18:12:04 MST