[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange screenshots problem
From: |
Marcus G. Daniels |
Subject: |
Re: Strange screenshots problem |
Date: |
29 Nov 2000 00:19:11 -0800 |
User-agent: |
Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4 |
>>>>> "ER" == Erik Rauch <address@hidden> writes:
ER> is there a way to get it to dump a Value2dDisplay?
There are serialization methods on Discreted2d. E.g., if you create a
HDF5Archiver and save the Value2dDisplay Discrete2d with
putShallow:object:, you'll get a object that can be loaded into R and
shown as an image. See tests/space/Discrete2d.m and Sugarscape for
example code.
$ R
> library(hdf5)
# Makes the sss.hdf file -- in your case you'd get the HDF5 file
# from the HDF5Archiver, which would save a Discrete2d associated
# with a Value2dDisplay.
> source("hdf5.R")
$ R
> library(hdf5)
> hdf5load("sss.hdf")
> postscript("foo.ps") # to redirect graphics to file
> image(maxSugarDiscrete2d$lattice)
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.