Re: aspect ratio and label

Hi Tom,

> I've got a graph with about a 8:1 aspect ratio. This graph also has a
> scale along the long axis (in my case, y).  When I use the
> ProjectionControl to set the aspect ratio, it also skews the text in the
> label, so it becomes unreadable.  Is there a way around this so that I
> only change the aspect ratio of my graph and not the text in the
> label?

Try setAspectCartesian() in place of setAspect().

> I was wondering if there is a way to change the size that the graph
> will default to when it is first rendered.

You can do this either by calls to ProjectionControl.setMatrix()
of by calls to ScalarMap.setRange() for the ScalarMaps to spatial

Good luck,

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