Histogram Example
      Model was written in NetLogo 5.0.4 
      • 
      Viewed 6382 times
      • 
      Downloaded 564 times
      • 
      Run 7 times
    
    
    
      Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)
WHAT IS IT?
This shows all of the code needed to create a histogram.
The actual histogram code is in the plot in the Interface tab. The code in the Code tab just creates some turtles to be plotted.
RELATED MODELS
Random Walk 360
Comments and Questions
  Please start the discussion about this model!
  (You'll first need to log in.)
      
    Click to Run Model
  
to setup clear-all crt 3000 ; create 3000 turtles reset-ticks end to go ask turtles [ rt random 360 ; wander around aimlessly fd 1 ] tick end ;; the actual plotting code is in the plot in the Interface tab. ;; the plot has setup code and the pen in it has update code. ; 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 | |
|---|---|---|---|---|
| Histogram Example.png | preview | Preview | over 12 years ago, by Reuven M. Lerner | Download | 
This model does not have any ancestors.
This model does not have any descendants.
Download this model