Re: drawing text in a window

Perfect! Thanks so much. I realized that I didn't need to mess around with
putting limit labels on; if I set up the rectangular flat field with the
appropriate values in the x dimension, then set scaleEnable(true) for that
axis, it will do exactly what I want.

Thanks again

Donna L. Gresh, Ph.D.
IBM T.J. Watson Research Center
(914) 945-2472

                      Bill Hibbard                                              
                      <billh@xxxxxxxxxxxx        To:       Donna L 
                      u>                         cc:       tomw@xxxxxxxxxxxxx, 
visad-list <visad-list@xxxxxxxxxxxxx>                   
                      Sent by:                   Subject:  Re: drawing text in 
a window                                                
                      01/14/2003 10:28 AM                                       

Hi Donna,

> Mainly my problem is that visad wants to make my color bar a
> square, and if I try to make it long and skinny using the projection
> control aspect ratio, then my labels get squished as well.

Use ProjectionControl.setAspectCartesian() instead of
setAspect(). That should fix the text squeezing.


  • 2003 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: