Newbie questions

Hello everybody, I'm new to visad and I have been trying to do a simple
graph.

I have 4 different series, I have been able to graph the four series in
the same display with different colors. But I would like to add a simple
box with a legend indicating each color meaning. I don't know how to do
this. 


My Yaxis values range from -40 to 10, I would like to have the X axis at
0 instead of -40.

Another question is what I should do to have values each 3 or 4 ticks, I
have tried with  this:

        axisScale.setVisible(true);
        axisScale.setTickBase((double)1);
        axisScale.setMinorTickSpacing((double)5);
        axisScale.setMajorTickSpacing((double)10);

Ando did not work.

Thank you very much for your help.


-- 
Carlos del Castillo <ccastillo@xxxxxxxxxxx>
QoS Labs


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