@Nick_Arner wrote:
I'm making a rather simple OF app that will read in OSC data, run an FFT on it, and then output the results via OSC.
I'm using ofxDatGui for the UI elements, and the ofxGrt addon's time-series plot to display the FFT,
I have the following code inside my app's
drawmethod to display the timeseries plot:float margin = 10; magnitudePlot.draw( margin, 260, ofGetWidth() - margin * 2, 480 );Additionally, I have the following code to display some
ofxDatGuiUI elements:oscInputPortField->draw(); oscOutputHostNameField->draw(); oscOutputPortField->draw(); oscAddressField->draw(); oscMessagePayloadSelector->draw();If I have the lines to draw the plot in the
drawmethod, then the toggle element's and the dropd-own menu are slightly misdrawn:If I remove the lines creating the plot from the
drawmethod, then the other UI elements are displayed properly:I tried changing the size of the plot and the app's framerate, but neither had any effect. Anyone have any ideas why the inclusion of the plot would cause the other UI elements to be misdrawn?
Posts: 1
Participants: 1

