NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Axis legend

Hi
My problem is about axis legend. I create 2 axis :

timeMap = new ScalarMap(time, Display.XAxis);
heightMap = new ScalarMap(height, Display.YAxis);

and I plot a line chart of 250 points :

point_ff.setSamples(point_val);

But when I have to define the range:

timeMap.setRange(0.0, timemax);

I have a problem cause, I have 250 points but time
begin at 0.0s and end at 50.0s with a step of 0.2s so
I want display 50 in the XAxis and I want to display
the 250 values, how can I do it?
thanks


        

        
                
___________________________________________________________________________ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com


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