MASON-INTEREST-L Archives

July 2006

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

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

Print Reply
Sender:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Subject:
From:
Michael Makowsky <[log in to unmask]>
Date:
Tue, 4 Jul 2006 14:34:46 -0400
Comments:
Reply-To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Parts/Attachments:
text/plain (14 lines)
I think there is a misunderstanding. I am trying to figure out how to add to
the java code such that it will chart multiple series. I tried this in UI
step method: 
  
               double x = state.schedule.time(); 
               double y1 = mars.meanR; //mars.meanR;
               double y2 = 4; //mars.meanS;

               // now add the data
               series.add(x, y1, true);
               series2.add(x, y2, true);

But it doesn't seem to work. Thoughts? 

ATOM RSS1 RSS2