Re: Axis labels

Hi all,

> 
> Another easy-peasy question :)
> 
> Let's say I have this:
> 
>   RealType valueType = new RealType("length", SI.meter, null);
> 
> and I plot this vs time.  I want the label on the axis to read not
> "length", but "Distance to Wall (m)", for example.  I can't name the
> RealType "Distance to Wall (m)"...is there a way to just change the axis
> label associated with that RealType, a display name perhaps?  I've been
> up and down the API and tutorials but haven't seen anything.
> 
>   Thanks...
> 

If I may ask, what about the method visad.ScalarType.alias( String s)?
Won't that solve the problem?...

Ugo


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