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

JRealTimeDemo



Dear All

 

I am using the applet JRealTimeDemo to plot the progression of an optimisation, where:

 

  • The Y axis consists of the number of elements in an archive, which changes with time.
  • The X axis consists of the time.

 

The JRealTimeDemo uses the PseudoRealTimeData as a simulation of real data, how can I change the code to feed it real time data (Number of elements in an archive and time).

 

I also would like to add a label on the X axis with “Time”, I have tried to do this   

As follows:

 

    String xLabel = "Time";

 

    SGLabel xtitle = new SGLabel("xaxis title", xLabel,new Point2D.Double(0.0, 0.0));

   

    xbot_.setTitle(xtitle);

   

 

However this didn’t work, the label doesn’t appear at the time axis.

 

If someone could help me with this it would be very much appreciated

 

Regard,

 

Kacem A Chikh

 



Privacy Notice, External Links Disclaimer.