Observer Commands

Print Version of Observer Commands

A | B | C | D | E | F | G | H | I / J | K / L | M | N | O | P / Q | R | S | T / U | V | W | X | Y / Z

Here are a list of commands that the observer can run.

A
abs

acos

alive?-of

and

asin

ask-breed

ask-breed-with

ask-list-of-turtles

ask-patch-at

ask-patches

ask-patches-with

ask-turtle

ask-turtles

ask-turtles-with

atan

average-of-breed

average-of-breed-with

average-of-list

average-of-patches

average-of-patches-with

average-of-turtles

average-of-turtles-with

B
bf (butfirst)

bitand

bitnot

bitor

bitxor

bl (butlast)

black

blue

breed-at

breed-of

breed-towards

breeds

brown

butfirst (bf)

butlast (bl)

C
ca (clear-all clearall)

case

cc (clear-command-center)

cg (clear-graphics)

clear-all (ca clearall)

clear-command-center (cc)

clear-graphics (cg)

clear-info (clearinfo)

clear-output (co)

clear-patches

clear-plot (clearplot)

clear-turtles (clearturtles) (ct)

clearall (ca) (clear-all)

clearinfo (clear-info)

clearplot (clear-plot)

clearturtles (clear-turtles ct)

co (clear-output)

color-at

color-of

color-towards

copy-list

cos

count-breed

count-breed-at

count-breed-towards

count-breed-with

count-color

count-color-range

count-patches

count-patches-with

count-pc

count-pc-range

count-plot-pens

count-turtles

count-turtles-at

count-turtles-towards

count-turtles-with

create-breed

create-breed-and-do

create-custom-turtles

create-custom-turtles-and-do

create-turtles (crt)

create-turtles-and-do (crt-and-do)

crt (create-turtles)

crt-and-do (create-turtles-and-do)

ct (clear-turtles clearturtles)

cyan

D
diffuse

diffuse4

display

distance

distance-nowrap

div

dolist

dotimes

E
e

empty?

end

every

exp

export-picture-interface

export-picture-interface-name

export-picture-patches

export-picture-patches-name

F
fd (forward)

first

forward (fd)

fput

G
get-random-seed

get-scheduler-random-seed

globals

grab

gray (grey)

green

grey (gray)

H
heading-at

heading-of

heading-towards

I / J
if

ifelse

ignore

import-picture

import-picture-name

info-name

insert

inspect-patch

inspect-turtle

int

item

K / L
kill

last

length

let

lime

list

list-of-breed

list-of-breed-at

list-of-breed-here

list-of-breed-towards

list-of-breed-with

list-of-turtles

list-of-turtles-at

list-of-turtles-towards

list-of-turtles-with

list?

ln

log

loop

lput

M
magenta

make-list

max (maximum)

max-of-breed

max-of-breed-with

max-of-list

max-of-patches

max-of-patches-with

max-of-turtles

max-of-turtles-with

maximum (max)

maxnum

median-of-breed

median-of-breed-with

median-of-list

median-of-patches

median-of-patches-with

median-of-turtles

median-of-turtles-with

member?

min (minimum)

min-of-breed

min-of-breed-with

min-of-list

min-of-patches

min-of-patches-with

min-of-turtles

min-of-turtles-with

minimum (min)

minnum

mod

mode-of-breed

mode-of-breed-with

mode-of-list

mode-of-patches

mode-of-patches-with

mode-of-turtles

mode-of-turtles-with

mouse-down?

mouse-xcor

mouse-ycor

N
no-display

nobody

not

nsum

nsum4

number?

O
one-of-breed

one-of-breed-at

one-of-breed-at-with

one-of-breed-here-with

one-of-breed-towards

one-of-breed-towards-with

one-of-breed-with

one-of-turtles

one-of-turtles-at

one-of-turtles-at-with

one-of-turtles-towards

one-of-turtles-towards-with

one-of-turtles-with

or

orange

output

output-name

P / Q
partner

partners

patches-own

pc-at

pc-towards

pendown?

pendown?-at

pendown?-of

pendown?-towards

pi

pick

pink

plot

plot-grid-off

plot-grid-on

plot-grid?

plot-title

plot-xlabel

plot-xmax

plot-xmin

plot-ylabel

plot-ymax

plot-ymin

plotid

plotxy

position

pp

ppc

ppd

ppreset

ppu

ppxcor

ppycor

print

print-status

project-name

pstamp-at

pstamp-towards

purple

R
random

random-gaussian

red

remove

remove-element

repeat

reset-timer (resett)

resett (reset-timer)

reverse

round

S
save-info

save-info-as

save-next-version

save-output

save-output-as

save-project

save-project-as

scheduler

screen-half-height

screen-half-width

screen-height

screen-width

sdev-of-breed

sdev-of-breed-with

sdev-of-list

sdev-of-patches

sdev-of-patches-with

sdev-of-turtles

sdev-of-turtles-with

se (sentence)

sentence (se)

set

set-count-plot-pens

set-info-name

set-output-name

set-project-name

set-random-seed

set-scheduler-random-seed

setbg

setbreed-at

setbreed-of

setbreed-towards

setc-at

setc-of

setc-towards

seth-at

seth-of

seth-towards

setitem

setpatchcolor (setpc)

setpc (setpatchcolor)

setpendown?-at

setpendown?-of

setpendown?-towards

setplot-title

setplot-xlabel

setplot-xmax

setplot-xmin

setplot-xrange

setplot-ylabel

setplot-ymax

setplot-ymin

setplot-yrange

setppc

setrandom-seed

setshape-at

setshape-of

setshape-towards

setshown?-at

setshown?-of

setshown?-towards

setslidervar

setvariable

setvariable-at

setvariable-of

setvariable-towards

setx-at (setxcor-at)

setx-of (setxcor-of)

setx-towards (setxcor-towards)

setxcor-at (setx-at)

setxcor-of (setx-of)

setxcor-towards (setx-towards)

setxy-at

setxy-of

setxy-towards

sety-at (setycor-at)

sety-of (setycor-of)

sety-towards (setycor-towards)

setycor-at (sety-at)

setycor-of (sety-of)

setycor-towards (sety-towards)

shape-at

shape-of

shape-towards

show

shown?-at

shown?-of

shown?-towards

sin

sky

sort-num-list

sqrt

stamp-at

stamp-towards

startbuttonname

startup

stop

stopall

stopbuttonname

sublist

sum-of-breed

sum-of-breed-with

sum-of-list

sum-of-patches

sum-of-patches-with

sum-of-turtles

sum-of-turtles-with

switch-scheduler

T / U
tan

timer

to

to-delimited-string

to-list

to-string

towards

towards-nowrap

turquoise

turtles-own

type

V
variable

variable-at

variable-of

variable-towards

variance-of-breed

variance-of-breed-with

variance-of-list

variance-of-patches

variance-of-patches-with

variance-of-turtles

variance-of-turtles-with

view-plot

W
wait

wait-until

white

who-max-of-breed

who-max-of-breed-with

who-max-of-turtles

who-max-of-turtles-with

who-min-of-breed

who-min-of-breed-with

who-min-of-turtles

who-min-of-turtles-with

word?

X
xcor-at

xcor-of

xcor-towards

xor

Y / Z
ycor-at

ycor-of

ycor-towards

yellow