swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] Grid2d


From: Rick Riolo
Subject: Re: [Swarm-Support] Grid2d
Date: Tue, 18 Feb 2003 23:00:14 -0500 (EST)

yes.  
I think the way to do it is:

    // lets have a raster of 320 pixels
    i = 320 / [[modelSwarm getWorld] getSizeX];
    [worldRaster setZoomFactor: i];

- r

-- 
Rick Riolo                           address@hidden
Center for Study of Complex Systems (CSCS)
4477 Randall Lab                
University of Michigan         Ann Arbor MI 48109-1120
Phone: 734 763 3323                  Fax: 734 763 9267
http://cscs.umich.edu/~rlr

On Tue, 18 Feb 2003, Li An wrote:

> Date: Tue, 18 Feb 2003 22:46:58 -0500
> From: Li An <address@hidden>
> Reply-To: address@hidden
> To: address@hidden
> Subject: [Swarm-Support] Grid2d
> 
> Dear Swarm colleagues,
> 
> Is it possible for the Grid2d or Discrete2d to be displayed on the screen 
> at a fixed size (say, 6 by 6 inches) regardless of how many columns and 
> rows the grid contains? Thanks.
> 
> Li
> 
> _______________________________________________
> Support mailing list
> address@hidden
> http://www.swarm.org/mailman/listinfo/support
> 



reply via email to

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