You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've implemented a Plot widget that can show a grid, has custom tooltip support, logarithmic x-axis scaling, is able to draw multiple sources on the same plot, and also supports selection.
All of this was really useful for me when working with audio and ultrasonic data, since I often need to compare signals, show spectrums of the selected part of the signal, and know what value it has at a particular point.
The code is located at https://github.com/soulthreads/imgui-plot
It is written in C++11 style, but if folks really need it, I can scale it down to C++98 with no problem.
Here are some samples of what it looks like:
Displaying waveform and spectrum:
Selection example on a plot with multiple sources:
I hope you will find it useful, and feel free to file issues if you have any problems with it!
The text was updated successfully, but these errors were encountered:
I've implemented a Plot widget that can show a grid, has custom tooltip support, logarithmic x-axis scaling, is able to draw multiple sources on the same plot, and also supports selection.
All of this was really useful for me when working with audio and ultrasonic data, since I often need to compare signals, show spectrums of the selected part of the signal, and know what value it has at a particular point.
The code is located at https://github.com/soulthreads/imgui-plot
It is written in C++11 style, but if folks really need it, I can scale it down to C++98 with no problem.
Here are some samples of what it looks like:
Displaying waveform and spectrum:
![Displaying Waveform and Spectrum](https://camo.githubusercontent.com/c46435f6f0728e4e6dd2be8e1d9a6e3c94bc15d2f15f39fc8bbcba2c3722929c/68747470733a2f2f6c696e75786f6964732e6e65742f7374617469632f696d6775692d706c6f742f77617665666f726d5f616e645f737065637472756d2e706e67)
Selection example on a plot with multiple sources:
![Selection Example](https://camo.githubusercontent.com/2e45d64ae9ff6efd46572ef4b13ea60992e64380ef50a7a44cd5d0021964b766/68747470733a2f2f6c696e75786f6964732e6e65742f7374617469632f696d6775692d706c6f742f73656c656374696f6e5f6578616d706c652e676966)
I hope you will find it useful, and feel free to file issues if you have any problems with it!
The text was updated successfully, but these errors were encountered: