A simple and configurable plotting library for Processing
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 50 commits ahead, 26 commits behind processing:master.
Type Name Latest commit message Commit time
Failed to load latest commit information.
data Moved the library and tool templates to the new contrib-templates dir… Dec 8, 2012
examples Fixes several small bugs Sep 27, 2018
resources Adds new library version with bug fixes Sep 27, 2018
src/grafica Fixes several small bugs Sep 27, 2018
web Added a new example. Edited the README file Sep 23, 2013
.classpath Adds new library version with bug fixes Sep 27, 2018
.gitignore Added mouse events to the GPlot class. Updated the examples. Sep 24, 2013
.project More documentation. Mostly GPlot and GLayer Sep 15, 2013
README.md Updates the README file Sep 12, 2015
license.txt Corrects the license information Sep 12, 2015


grafica is a simple and configurable plotting library for Processing. With it you can easily create 2D plots that will enjoy the full interactive capabilities of Processing.

Main features

  • Make fancy scatter and linear plots that update in real time.
  • Display histograms in the vertical and horizontal directions.
  • Add several layers with different properties to the same plot.
  • It works both with linear and logarithmic scales.
  • Automatic axis tick determination.
  • Interactive zooming and panning. Make your data move!
  • Add labels to your points and display them with one click.
  • You can use svg files and PShapes to represent your points.
  • Highly customizable. Defaults are nice, but you can tweak almost everything.
  • Processing coding style. If you are used to work with Processing, grafica will be very easy.
  • It comes with a good set of examples.
  • It's open source. grafica is under the GNU Lesser General Public License. You can find the complete source code here.


Download the latest library release and follow the steps described in the Processing wiki.