A simple and configurable plotting library for openFrameworks
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Remove doc dir and add use docs dir instead Feb 23, 2018
example-10000Points Adds 1000 points example Mar 1, 2018
example-colorHistograms Adapts code to work with OF 0.10.0 Sep 11, 2018
example-defaultPlot Adds multiplePlots example and corrects bug in ofxGHistogram Feb 18, 2018
example-exponentialTrend Almost finished with the translation Feb 15, 2018
example-exportToPdf Adds multiplePlots example and corrects bug in ofxGHistogram Feb 18, 2018
example-lifeExpectancy Remove .gitkeep files Feb 18, 2018
example-movingPoints Adds moving points example Feb 17, 2018
example-multiplePanels Finishes adding the documentation Feb 26, 2018
example-multiplePlots Adds multiplePlots example and corrects bug in ofxGHistogram Feb 18, 2018
example-oktoberfest Remove .gitkeep files Feb 18, 2018
example-twoVerticalAxes Finishes adding the documentation Feb 26, 2018
src Forces casting to float in max calculation Sep 27, 2018
.appveyor.yml First commit with the basic addon structure taken from ofxAddonTemplate Feb 6, 2018
.gitignore Untrack some . files Feb 18, 2018
.project untrack .cproject file Feb 18, 2018
.travis.yml First commit with the basic addon structure taken from ofxAddonTemplate Feb 6, 2018
README.md Adapts code to work with OF 0.10.0 Sep 11, 2018
addon_config.mk First commit with the basic addon structure taken from ofxAddonTemplate Feb 6, 2018
license.md First commit with the basic addon structure taken from ofxAddonTemplate Feb 6, 2018
ofxaddons_thumbnail.png First commit with the basic addon structure taken from ofxAddonTemplate Feb 6, 2018

README.md

ofxGrafica

Introduction

ofxGrafica is a simple and configurable plotting library for openFrameworks. It's the C++ version of the grafica Processing library. With it you can easily create 2D plots that will enjoy the full interactive capabilities of openFrameworks.

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 images to represent your points.
  • Highly customizable. Defaults are nice, but you can tweak almost everything.
  • openFrameworks coding style. If you are used to work with OF, ofxGrafica will be very easy.
  • It comes with a good set of examples.
  • It's open source. ofxGrafica is under the MIT License. You can find the complete source code here.

Installation

Simply copy the ofxGrafica folder into the openFrameworks/addons/ folder.

Compatibility

Tested with openFrameworks v0.10.0 linux64.