swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swarm-Support] Query regarding plotting a graph in Swarm.


From: Kavita Gangal
Subject: [Swarm-Support] Query regarding plotting a graph in Swarm.
Date: Wed, 22 Aug 2007 09:54:45 +0530


hello,
i don't know how to plot a graph in Swarm.
I need to plot total population against time period and after every time period the graph should update itself.
Is any detailed documentation available abt the graphs and charts in Swarm?

I went through the Stupid Bug Model..

First of all the stupidModel15 is not working. It is asking for some external files.
Since no output is generated the code can't be tested.

Also,
In the following "try" block from StupidObserverSwarm.java from StupidModel15 :
try {
            populationGraph.createCountSequence$withFeedFrom$andSelector
                ("Bug abundance", stupidModelSwarm.getBugList(),
                        new Selector (Class.forName ("stupidModel15.StupidBug"), "getMySize", false));
        } catch (NonUniqueMethodSignatureException e) {
            e.printStackTrace();
        } catch (SignatureNotFoundException e) {
            e.printStackTrace();
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        }

1. a syntax error is produced with the third catch statement. How to remove that?
2.Can "CreateCountSequence$withFeedFrom$andSelector" method parameters be explained please?

--

Thanks and Regards,
Kavita Gangal
--
TIFR
reply via email to

[Prev in Thread] Current Thread [Next in Thread]