org.nlogo

org.nlogo
package org.nlogo

Members list

Packages

package org.nlogo.agent
package org.nlogo.api

Provides classes associated with the NetLogo Extensions API and Controlling API.

Provides classes associated with the NetLogo Extensions API and Controlling API.

For discussion and sample code, please see the NetLogo User Manual.

Attributes

package org.nlogo.app
package org.nlogo.awt
package org.nlogo.core

Provides classes associated with the NetLogo Editor

Provides classes associated with the NetLogo Editor

Shouldn't depend on any other netlogo packages besides org.nlogo.core

Attributes

package org.nlogo.gl
package org.nlogo.ide
package org.nlogo.job
package org.nlogo.lab
package org.nlogo.lex
package org.nlogo.lite
package org.nlogo.log
package org.nlogo.mc
package org.nlogo.nvm
package org.nlogo.parse
package org.nlogo.plot

This package contains classes for plotting.

This package contains classes for plotting.

The lowest level class is PlotPoint. Each point has x and y coordinates, a color, and a boolean for whether the pen was down when the point was plotted.

The next class up is PlotPen. A PlotPen has a name. The pen has a bunch of state variables (with both default and current values) and remembers all the PlotPoints it has plotted. The pen's mode (e.g. line or bar) applies to all of its points. A pen may be temporary or permanent; temporary pens go away when the plot is cleared.

A collection of PlotPens is a PlotPensList. The pens are ordered, so they show up in a consistent order in the legend.

The main class is Plot. A Plot has a name and a PlotPensList, and keeps track of which pen in the PlotPensList is the current pen. A Plot has both default and current values for its ranges (x min and max, y min and max). "Auto plot" (whether the range expands automatically to the fit the data) is a boolean with both default and current values.

CorePlotExporter is used to export the plot data in CSV format.

Many classes are serializable in order to support HubNet plot mirroring.

Attributes

package org.nlogo.prim
package org.nlogo.sdm
package org.nlogo.shape
package org.nlogo.swing
package org.nlogo.theme
package org.nlogo.util
In this article