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

Show custom label format only for cursor position in plot #540

Open
jaapiyo opened this issue Nov 26, 2023 · 0 comments
Open

Show custom label format only for cursor position in plot #540

jaapiyo opened this issue Nov 26, 2023 · 0 comments

Comments

@jaapiyo
Copy link

jaapiyo commented Nov 26, 2023

Hey everyone,

I'm planning to show the unit of each axis in the name of the axis. It seems a bit excessive to show the unit on every tickmark, However I do want to show the unit in the cursor position (bottom right of every plot when the cursor is over it).

For now it seems that there's no option to do this. You can either have labels everywhere, or nowhere.

afbeelding
Green = wanted, red = unwanted.

I haven't figured out where exactly this is done in the code but maybe it would be helpfull to create a ImPlotFlag_NoCustomLabelOnTicks.

Is anyone willing to help me out on where to begin for adding this? I'm not very experienced with making pull requests yet.

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

No branches or pull requests

1 participant