Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: [visad] aspect ratio

Hi James,

Try ProjectionControl.setAspectCartesian(double[]) instead. See Test57
and Test58 for examples.

-Curtis

On Jan 8, 2008 6:33 PM, James Fishbaugh <jfishbaugh@xxxxxxxxx> wrote:
> Hello,
>
> I was wondering if there is any way to change the aspect ratio of the
> plotting area independently of axes labels and titles.  For example, I
> am displaying a 2D plot of gridded data of dimension 200x400, twice as
> tall as it is wide.  When I set the correct aspect ratio using
> ProjectionControl.setAspect(), the plot is sized correctly, however
> the labels on the axes are severely distorted.  Is there any way
> around this issue?
>
> James
> _______________________________________________
> visad mailing list
> visad@xxxxxxxxxxxxxxxx
> For list information, to unsubscribe, visit: 
> http://www.unidata.ucar.edu/mailing_lists/
>


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690