Profactor / cv-plot

fast modular opencv plotting library
MIT License
159 stars 30 forks source link

Strictly limit ylim #20

Closed Ilmu011 closed 3 years ago

Ilmu011 commented 3 years ago

Sorry if this question seems trivial, but I haven't found a way to do this.

Is there a way to strictly limit the range of the y-axis? I am trying to plot in real time and y-axis is constantly being resized based on the current data in the plot.

Untitled (1)

wpalfi commented 3 years ago

Hi @Ilmu011, I guess you are looking for axes.setYLim({-1,1});? Otherwise please post a minimal example.