-
Notifications
You must be signed in to change notification settings - Fork 78
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
Set a Data Point Using the New Interactive Mode #515
Comments
The edit feature is still WIP. |
I think what we could implement next week is to show multiple data points at once. This should only require a few changes. |
By the way, will those data point work on images as well? |
Yes, they work on these GR plot types:
Do you really use Ctrl? Regarding the MATLAB documentation, the Shift key can be used for this:
|
Starting with release v0.72.5, multiple tooltips can be shown when holding the Alt key (option key on macOS). Pressing the shift key shows all y values for the current x value in a combined tooltip. |
Is it available using I think you fixed one of the most important issues in the plotting eco system. |
This is only available in ENV["GRDISPLAY"] = "plot"
using GR |
@IngoMeyer441 , I am trying the new plot display on Windows. |
@RoyiAvital Could you describe, which steps you executed? Hopefully, I can reproduce your problem.
So you don't get any plotting window or is this related to non-existing tooltips? |
Nothing shows up at all. |
On a second try, I get a plot window: When starting grplot for the first time, the Windows firewall blocked the internal TCP traffic and asked for permissions. This probably caused a timing problem. Did the Windows firewall dialog also show up for you @RoyiAvital? |
This is what I typed: julia> ENV["GRDISPLAY"] = "plot"
"plot"
julia> using GR;
julia> plot(1:10)
julia> plot(randn(20,5), labels=("a", "b", "c", "d", "e"))
julia> plot(randn(20,5), labels=("a", "b", "c", "d", "e"))
julia> plot(randn(20,5), labels=("a", "b", "c", "d", "e")) No figure or anything appeared. What's AppName to allow it in the Firewall? |
OK, I closed Julia and started new session: ENV["GRDISPLAY"] = "plot"
using GR;
plot(randn(20,5), labels=("a", "b", "c", "d", "e")) A CMD window appeared. I closed the plot window. The CMD closed as well. So the first plot in a session works. |
@jheinen AFAIK, it is intended behavior, that new plots after closing grplot do not open a new window, isn't it? |
@IngoMeyer441 , Why? |
Yes, currently, a new figure overwrites an older figure in the grplot window. Maybe, we should discuss, if this is a good default behavior or if it should at least be possible to change this behavior (for example with an environment variable). |
One could imagine leaving "frozen" versions of figures on the screen - but without interaction. With that you could at least compare figures. To support multiple plots with full interaction would also require extensive changes in |
@jheinen , What about multiple plots with interaction with |
We will discuss that in our group. If full interaction is desired, however, this would be a very extensive expansion that we cannot implement in the short term. |
Looking at the blog post How to achieve better interactivity with GR I can see the data point:
I was wondering if there could be a feature to set them.
Namely I want some points to be displayed constantly.
For instance, on MATLAB I can do the following (From Orthogonal Projection onto the Unit Simplex):
On MATALB I can hit Ctrl and make the one displayed permanent and move forward to a new one.
The text was updated successfully, but these errors were encountered: