Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: drawing text in a window

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.

Cheers,
Bill


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