|
From: | Steve Railsback |
Subject: | Re: [Swarm-Support] Java Swarm With Graphs |
Date: | Mon, 14 Nov 2005 16:28:22 -0800 |
User-agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
durga bhavani wrote:
HelloI am trying to generate a graph and in my program each iteration generates 4 valuesand i am running it for 100 iterations so altogether I get 400 valuesI need to draw iteration veruse values graph but i don't want to remove the periovs iterations values so my graph should get all 100 arcs.Is this thing possible in Javacould some one please give me an example And the other doubt i have is can I pass array as an argument to graph
Do you mean you just want to plot 4 curves, each of which shows the value of one variable over the iterations? If so, a standard EZGraph should do what you want. On each tick it simply adds a new value to a line graph...or new values to several lines. Add 4 curves to the graph by using the "createSequence$withFeedFrom$andSelector" method four times.
Steve R. -- Lang Railsback & Assoc. 250 California Ave. Arcata, California 95521 (707) 822-0453
[Prev in Thread] | Current Thread | [Next in Thread] |