Skip to content
ofxGraph is a simple, easy and quick graph add-on for openframeworks.
C C++ Objective-C Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example add gif animation and gui options, auto scaling toggle. Jun 6, 2019
src add auto scale toggle function Jun 3, 2019
.DS_Store add gif animation and gui options, auto scaling toggle. Jun 6, 2019
README.md
ofxGraph.gif add gif animation and gui options, auto scaling toggle. Jun 6, 2019
ofxaddons_thumbnail.png
screenshot.png but fixed: saveCSV Jan 26, 2018

README.md

ofxGraph: a simple plotter for openframeworks

Example screenshot

Description

ofxGraph is a graph plotting addon for openframeworks.

  1. single/multiple plot
  2. Manual adjustable graph size and position
  3. detailed plot data information
  4. Adjustable buffer size
  5. CSV file export with a save dialog
  6. Automatic saving(position and size). except for ofxGui settings.

Usage

  1. Copy ofxGraph/Example/bin/data/ofxGraph directory to your_OF_project_directory/bin/data
  2. Below is a minimal code to use ofxGraph.
void ofApp::setup(){

// ofxGraph Init
  graph.setup("sample");
  graph.setDx(1.0); // which means delta of time
  graph.setColor(ofColor::white);  // ofColor(255,255,255)
}
void ofApp::update(){
  // plot a random data on a each frame
  graph.add(ofRandom(-100,100));
}

void ofApp::draw(){
  ofBackground(50,50,50);
  graph.draw();
}

See Example for more detailed.

Example screenshot

Install

ofxGui and ofxXmlSettings are required.

Licence

MIT

Author

TetsuakiBaba

You can’t perform that action at this time.