August 2015


Options: Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Tschanen Miriam <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Tue, 4 Aug 2015 10:08:27 +0000
text/plain (1890 bytes) , text/html (3108 bytes)
Yes, I installed all the libraries from the MASON website. I don't know what you mean by addidng them to the build path, but I quickly ran Ant Foraging (one of the premade examples shipped with MASON) and the plotting works fine there. So the problem seems to be with my model, not the library.

Von: MASON Multiagent Simulation Toolkit [[log in to unmask]]" im Auftrag von "Talha OZ [[log in to unmask]]
Gesendet: Dienstag, 4. August 2015 11:41
An: [log in to unmask]
Betreff: Re: Plotting in MASON

Did you add the (chart) libraries* to the build path?

*: There are a bunch of libraries other than mason.jar available on the Mason website.

On Tuesday, August 4, 2015, Tschanen Miriam <[log in to unmask]<mailto:[log in to unmask]>> wrote:
Hi all,

I have another quick (and probably very stupid) question. I'm trying to create time series charts of some of my model properties, and have been following the school yard example in the MASON manual (here: to figure out how to do that. Unless I missed something important, the trick seems to be to just add the appropriate getter and setter methods to the SimState.

However, I can't plot the values when I run the simulation. I do get a new "Model" tab and all the data is displayed as expected, but when I click the little magnifying glass on any value the only option I am given is "Stream". None of the other entries that are described in the tutorial are visible.

Is there something else I need to do to enable the plotting? I double-checked that I have jfreechart installed, but I don't know if it's linked up with MASON correctly. I don't get any error messages when I run the code, though.

Any help would be appreciated.

Miriam Tschanen

-Talha OZ<>