-
-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plot: 2nd and 3rd axis support #765
Labels
Comments
Is this likely to be addressed anytime soon? It would be really useful to plot using multiple axis. |
ok, let me take a look |
cimgui-go ref: // original name: ImAxis_
type PlotAxisEnum int32
const (
AxisX1 PlotAxisEnum = 0
AxisX2 PlotAxisEnum = 1
AxisX3 PlotAxisEnum = 2
AxisY1 PlotAxisEnum = 3
AxisY2 PlotAxisEnum = 4
AxisY3 PlotAxisEnum = 5
AxisCOUNT PlotAxisEnum = 6
) ( func PlotSetAxes(x_axis PlotAxisEnum, y_axis PlotAxisEnum) {
C.ImPlot_SetAxes(C.ImAxis(x_axis), C.ImAxis(y_axis))
} ( // Select which axis/axes will be used for subsequent plot elements.
IMPLOT_API void SetAxis(ImAxis axis);
IMPLOT_API void SetAxes(ImAxis x_axis, ImAxis y_axis); |
gucio321
added
enhancement
New feature or request
good first issue
Good for newcomers
labels
Jul 10, 2024
Is this likely to be addressed anytime soon? It would be really useful to plot using multiple axis. |
@runrc lmk what feature you need as some parts were added in my pr mentioned above. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"2nd and 3rd axis":
old code was:
now it doesn't work because PlotFlagsYAxis2 doesn't exist, in flags.go it is commented out:
I have no idea how to activate second/third axis
Originally posted by @francmarx in #632 (comment)
The text was updated successfully, but these errors were encountered: