GithubHelp home page GithubHelp logo

tetsuakibaba / ofxgraph Goto Github PK

View Code? Open in Web Editor NEW
33.0 6.0 7.0 39.52 MB

ofxGraph is a simple, easy and quick graph add-on for openframeworks.

Makefile 17.85% C++ 82.15%
openframeworks ofxgui openframeworks-addon c-plus-plus plot

ofxgraph's Introduction

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.
  7. New: Added Bar Graph Mode. you can change graph mode to bar or plot.

Compatible

  • openframeworks: v0.11.2
  • macOS: 12.0.1(Monterey)

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

ofxgraph's People

Contributors

tetsuakibaba avatar tetsuakibabatest avatar tiagosr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ofxgraph's Issues

I wonder how to get buffer sized graph data to my memory, not to csv file in runtime.

Hi, @TetsuakiBaba

I have made a webcam based realtime pixels color value graph.
I've used your ofxGraph addons for OF. Thank you for your great addons.

source : https://github.com/bemoregt/ofxROIHeartRate.git

screenshot: https://github.com/bemoregt/ofxROIHeartRate/blob/master/ofxROIHeartRate.png

Then, I wonder how to get buffer sized graph data to my memory, not to csv file in runtime.
My goal is to 1D FFT(a kind of signal processing) of the 1D signal with certain length.

How to get ?

Thanks in advance ~

Best,
@bemoregt.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.