| Author |
help in plotting points
|
Abhi Chat
Ranch Hand
Joined: Oct 10, 2004
Posts: 57
|
|
Hi, could somebody help me in ploting some values in a in a specifies axis. Suppose I have file cond 1 val1 val2 val2 val3 1 2 5 6 7 2 5 6 -1 1 3 4 5 5 7 4 1 1 6 10 Now I have to plot the conditions according to the values Like plot cond1 with values 2, 5, 6, 7 Then plot cond2 with values 5,6,-1, 1 and in the same axis Im uisng swing for the entire apps Could u suggest how I would do that..is there any plotting functions�. [EJFH Everyone feels their question is urgent. No need to say so in your subject line. ] [ October 19, 2004: Message edited by: Ernest Friedman-Hill ]
|
SCJP 1.4<br />Preparing for <br />SCJD and SCWCD
|
 |
Rachel Swailes
Ranch Hand
Joined: May 18, 2004
Posts: 434
|
|
Have you had a look at the Graphics object? There are methods there to draw lines when given a series of points. Cheers, Rachel
|
 |
Abhi Chat
Ranch Hand
Joined: Oct 10, 2004
Posts: 57
|
|
|
actually i dont want lines to join the points..is there a way to join them by curves..or smooth lines...
|
 |
Rachel Swailes
Ranch Hand
Joined: May 18, 2004
Posts: 434
|
|
Graphics also has methods to draw arcs and you can set the line to look however you want. You will just have to do some calculations to work out the angles. Rachel
|
 |
 |
|
|
subject: help in plotting points
|
|
|