The plot model
The common model for all plots has two parts:- The data model - representing the data to be displayed
- The visual model - representing how the data will be displayed
In addition, settings for the visual model determine whether the data are interpreted as multiplexed or not (as described here). The data model represents data as a vector. If the data are multiplexed, the vectors will be treated as an interleaved data series with the number of series in the dataset determined by the settings in the visual model.
The plot model is added to a plot during its construction. There is no need to create one explicitly. The models are specified as properties of the GJAbstractPlotModelImpl class which is extended by the GJAbstractPlot class.