NetLogo Help: min-pxcor min-pycor

### min-pxcor3.1 min-pycor3.1

#### min-pxcor min-pycor

These reporters give the minimum x-coordinate and minimum y-coordinate, (respectively) for patches, which determines the size of the world.

Unlike in older versions of NetLogo the origin does not have to be at the center of the world. However, the minimum x- and y- coordinates must be less than or equal to zero.

Note: You can set the size of the world by editing the view or using resize-world.

    crt 100 [ setxy random-float min-pxcor
                    random-float min-pycor ]
    ;; distributes 100 turtles randomly in the
    ;; third quadrant

See also max-pxcor, max-pycor, world-width, and world-height

Take me to the full NetLogo Dictionary