ofxPlotter allows to plot data on screen.

yeswecan d2fda26753 Better screenshot il y a 9 ans
example 1ce1cf6d55 Added example il y a 9 ans
src 1e075e0122 Added drawing a value over a mouse position il y a 9 ans
readme.md f42022102c Image in readme il y a 9 ans
screenshot.png d2fda26753 Better screenshot il y a 9 ans

readme.md

ofxPlotter

alt tag

Introduction

A simple function plotter class for openFrameworks with built-in variable filtering and a ascetic syntax.

Usage

ofxPlotter is designed to be as simple and as minimal as possible for plotting functions in realtime.

setWindow(int windowSize); // set window (a.k.a. plot length)

plotter["variable name"] << variable; // add a new data to the plot "variable name"

plotter.draw(100, 100, 300, 300); // draw the plot

Every variable name's plot will be drawn separately in a Rectangle that's position on screen is x = 100, y = 100 and size is width = 300, height = 300.