Plotting Example
Model was written in NetLogo 5.0.4
•
Viewed 2009 times
•
Downloaded 129 times
•
Run 1 time
Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)
Comments and Questions
Click to Run Model
to setup clear-all create-turtles 1 [ ; create one turtle set color red set xcor (2 + min-pxcor) ; set the turtle's initial position and heading set ycor 0 set heading 0 set size 5 ; easier to see this way pen-down ] reset-ticks end to go ask turtles [ fd (pi * (max-pycor - 2) / 360) ; move in circle rt 0.5 ] tick end ;; the actual plotting code is in the plot itself, in the Interface tab ; Public Domain: ; To the extent possible under law, Uri Wilensky has waived all ; copyright and related or neighboring rights to this model.
There are 10 versions of this model.
Attached files
File | Type | Description | Last updated | |
---|---|---|---|---|
Plotting Example.png | preview | Preview for 'Plotting Example' | over 11 years ago, by Uri Wilensky | Download |
This model does not have any ancestors.
This model does not have any descendants.
Vanesa Lo Iacono Ferreira
Plotting Codes (Question)
Hi Uri! Congratulations for the example. I'm new in NetLogo and this example was very helpful. I just was wandering how to configured the plot in the code, instead of in the interface: pens, axes, etc. Thanks!
Posted about 11 years ago