org.nlogo.plot
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
Members list
Type members
Classlikes
Attributes
- Source
- CorePlotExporter.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class PlotExporter
Attributes
- Source
- PlotManagerInterface.scala
- Supertypes
Attributes
- Source
- Histogram.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- object
- Source
- Plot.scala
- Supertypes
Attributes
- Companion
- class
- Source
- Plot.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Plot.type
Attributes
- Source
- PlotHelper.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PlotHelper.type
Attributes
- Source
- PlotListener.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ServerPlotManager
Attributes
- Source
- PlotLoader.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PlotLoader.type
Attributes
- Source
- PlotManager.scala
- Supertypes
Attributes
- Source
- PlotManagerInterface.scala
- Supertypes
- Known subtypes
-
class DummyPlotManagerclass PlotManager
Attributes
- Source
- PlotPainter.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Source
- PlotPen.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PlotPen.type
Attributes
- Companion
- object
- Source
- PlotPen.scala
- Supertypes
Attributes
- Source
- PlotPoint.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait PlotPointInterfaceclass Objecttrait Matchableclass AnyShow all
Deprecated classlikes
Attributes
- Deprecated
-
[Since version 6.1.2]
Use `CorePlotExporter` - Source
- PlotExporter.scala
- Supertypes