[Date Prev][Date Next][Index][Thread] [SGT Mail Archive] [SGT Main Page]

time graph, please help!!!



Title: time graph, please help!!!

SGT users,

I am plotting a time vs space graph, very similar to the JTimeSeriesDemo graph. I would really appreciate your help on these questions.

1) How do I plot a point on this time graph? I tried the SimplePoint class, but this class doesn't allow me to specify time (GeoDate) coordinate. I noticed that there is a TimePoint class that allows both space and time coordinates, but how do I plot this point? Or more specifically, how do I add this point to the JPlotLayout?

2) How do I add an area plot to this graph? Say, I'd like to draw a shaded, rectangular block on this time vs. space graph. This block gets RESIZED automatically as the user zooms in/out. Also, this block is SELECTABLE.

Thank you in advance.

Best regards,

Tim

// t_lai
/*
"The brain is a wonderful organ. It starts the moment you get up and doesn't stop until you get into the office."
-- Robert Frost
*/