swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] Grid2d


From: Li An
Subject: Re: [Swarm-Support] Grid2d
Date: Wed, 19 Feb 2003 12:14:25 -0500

Thanks. It worked. Another option is to directly change the parameters in the setWidth$Length() command to whatever values we want.

Li

At 11:00 PM 2/18/2003 -0500, you wrote:

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
>

_______________________________________________
Support mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/support

Li An
Systems Modeling Lab
Department of Fisheries and Wildlife
Michigan State University
East Lansing, MI 48824
Phone (Work): 517-353-7981
Fax: 517-432-1699
http://www.msu.edu/~anli



reply via email to

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