That would be fantastic. Thanks! On Mon, May 3, 2010 at 10:40 AM, Sean Luke <[log in to unmask]> wrote: > I could make a modification of that and include it in Display2D. > > Note: I'd suggest two changes to the arguments of that function > > 1. It really should be a File, not a String > 2. It should also support PDF. I suggest an integer argument > differentiating the two. > > Also we could call it from the original method to save space. > > Sean > > > On May 3, 2010, at 1:19 PM, Paul Smaldino wrote: > > We've implemented something like that so that we can have snapshots taken >> at preset times and saved to files. It's done by adding a new method to >> Display2D.java: >> takeSnapshot(String filename). You can then call this method whenever you >> like and feed it a String for the filename. >> >> I've attached our modified file. The new method is right after the >> original takeSnapshot(). >> >> -Paul Smaldino >> [log in to unmask] >> >> On Mon, May 3, 2010 at 9:33 AM, Mark Coletti <[log in to unmask]> wrote: >> It is possible to save a snapshot of a simulation from the GUI. However, >> I would like to do the same from a _headless_ MASON configuration. That is, >> I want to run MASON from the command line and have it emit PNG snapshots of >> the simulation; this will _not_ be from within a GUI. Is there a convenient >> way of doing this? >> >> Cheers, >> >> Mark Coletti >> [log in to unmask] >> >> >> >> >> -- >> ____________________________ >> Paul Smaldino >> Agent-Based Modeling Laboratory >> Department of Psychology >> University of California, Davis >> [log in to unmask] >> >> <Display2D.java> >> > -- ____________________________ Paul Smaldino Agent-Based Modeling Laboratory Department of Psychology University of California, Davis [log in to unmask]