Skip to content
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

Allow second and third axes to have labels #163

Merged
merged 4 commits into from
Jan 6, 2021
Merged

Allow second and third axes to have labels #163

merged 4 commits into from
Jan 6, 2021

Conversation

yan-zaretskiy
Copy link
Contributor

This is how the new demo looks like:
Screen Shot 2021-01-05 at 22 25 01

@epezent
Copy link
Owner

epezent commented Jan 6, 2021

Yan, this is excellent! I made a few minor edits and added ImPlotAxisFlags_NoLabel so that axis labels can be hidden even when a string is passed to BeginPlot (useful for hiding labels from the context menu).

Merging!

@epezent epezent merged commit 5b59b47 into epezent:master Jan 6, 2021
Ben1138 pushed a commit to Ben1138/implot that referenced this pull request Oct 2, 2024
* Allow second and third axes to have labels

* Handle both axes in one loop

* fix compiler warnings, add ImPlotAxisFlags_NoLabel

* fix bug when y2 label hidden

Co-authored-by: epezent <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants