← Back

ofxImPlot

github.com/ofxyz/ofxImPlot · @ofxyz
OF 0.12 GUI

Plotting has never been as much fun

0 0 Last commit 2mo ago Created 8mo ago

README

ofxImPlot



preview

openFrameworks addon wrapping ImPlot — an immediate-mode plotting library for Dear ImGui.

Bundled ImPlot version: 0.17

Dependencies



Usage



#include "ofxImGui.h"

include "ofxImPlot.h"

ofxImGui::Gui gui; void ofApp::setup() { gui.setup(); ImPlot::CreateContext(); } void ofApp::draw() { gui.begin(); if (ImGui::Begin("My Plot")) { if (ImPlot::BeginPlot("##plot")) { ImPlot::PlotLine("sin", xData, yData, count); ImPlot::EndPlot(); } } ImGui::End(); gui.end(); }


License



ImPlot is licensed under the MIT License. See libs/implot/LICENSE for details.

Get this addon

HTTPS
SSH