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

Figure names on GLMakie independent figures #3978

Closed
kjeel-dev opened this issue Jun 20, 2024 · 2 comments
Closed

Figure names on GLMakie independent figures #3978

kjeel-dev opened this issue Jun 20, 2024 · 2 comments
Labels
enhancement Feature requests and enhancements

Comments

@kjeel-dev
Copy link

Feature description

GLMakie figure numbers or names like in matplotlib.pyplot.
In my team we frequently work with lots of open figures (up to 100). It is then practical to have figure names, please see the enclosed screen shot obtained with matplotlib.pyplot. The experimental multiple windows with GLMakie seems to work fine, but the name is always "Makie", which makes it hard to navigate. Due to this we are calling matplotlib from Julia, which works fine, but GLMakie would be a better choice.

Screen shot

image

@kjeel-dev kjeel-dev added the enhancement Feature requests and enhancements label Jun 20, 2024
@ffreyer
Copy link
Collaborator

ffreyer commented Jun 20, 2024

It is possible to set the window name in GLMakie:

counter = 1
display(GLMakie.Screen(title = "Makie $counter"), scatter(rand(10))); counter += 1
display(GLMakie.Screen(title = "Makie $counter"), scatter(rand(10))); counter += 1
display(GLMakie.Screen(title = "Makie $counter"), scatter(rand(10))); counter += 1

I agree it would be good to count up automatically. But in your case maybe it would be more effective to build a GUI for selecting different data sets? You have the option of using Menus and Sliders for that and you can have multiple axis objects side by side in a figure. That should give you the opportunity to organize things better than just having a large number of windows with different names.

@kjeel-dev
Copy link
Author

Ok, I did not know that this was possible. Thank you for the info!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests and enhancements
Projects
None yet
Development

No branches or pull requests

2 participants