epezent / implot

Immediate Mode Plotting
MIT License
4.79k stars 531 forks source link

How to place first Y axis labels to the right? #277

Closed kv-gits closed 3 years ago

kv-gits commented 3 years ago

In demo and issues there is no info. Can example be added in demo?

epezent commented 3 years ago

Switching Y left/right is not currently supported, but the feature is in the works as a part of the changes described in #272. In the meantime, you can hack it by hiding all of Y1's decorations (labels, ticks, lines, etc), enabling Y2, and then plotting everything on Y2 instead.

epezent commented 3 years ago

294 Adds ImPlotAxisFlags_Opposite and the ability to drag axes from side to side:

axes3