Table of Contents
Chart
Plotting
GroIMP embeds the jfreeChart project to enable the visualization of datasets as plots.
Plotting is possible through either the RGG command chart() or through the menu entry “plot” in the dataset explorer.
The plots are displayed in chart panels. These panels are automatically updated when their associated dataset is modified (new data, changed data, …). This enables to have real time feedback.
When created through the RGG code, chart panels are automatically displayed when the code is run. Thus, when running a project that call plots, many panels might popup. It is possible to disable their automatic creation in the options.
Because chart panels are automatically updated when the model run, they can have a significant impact on the computation speed of the model. Three solutions to reduce this impact are:
- Close them and disable their re-creation in the options.
- Encapsulate all 'chart( )' method in a 'if' loop and disable them with a variable during the run.
- Reduce their size (it works). Dock all chart panels in the same tab and reduce the size of that panel as much as possible.


