BUG DESCRIPTION:
----------------
With the example of “newaxes” in the help files, it is not possible to create any datatip (because of frames ???) on any curve
With the example of “sca” in the help files, it is possible to create datatips on all 3 curves (distributed on 2 different sets of axes). In this case, the subplots do not overlap. If the axes_bounds vectors are changed to [0,0,1,1] for both sets of axes, so that they now overlap, then it is not possible to create datatips anymore.
ERROR LOG:
----------
None
HOW TO REPRODUCE THE BUG:
-------------------------
f = figure("layout", "gridbag", "backgroundcolor", [1 1 1]);
// Create the frames where each graph is put
c = createConstraints("gridbag", [1 1 1 1], [1 1], "both");
top_left = uicontrol(f, "style", "frame","constraints", c);
c.grid = [2 1 1 1];
top_right = uicontrol(f, "style", "frame", "constraints", c);
c.grid = [1 2 2 2];
bottom = uicontrol(f, "style", "frame", "constraints", c);
// Create the axes in each frame
a_tl = newaxes(top_left);
a_tr = newaxes(top_right);
a_bt = newaxes(bottom);
// Plot in the frames
X = (1:100) ./ 50;
plot(a_tl, X, X, "r");
plot(a_tr, X, cos(2 * %pi * 3 * X), "g");
plot(a_bt, X, exp(X), "b");
// Now, the "Datatip" button in the toolbar can be tested: it does not work
// Second situation:
clf()
a1=newaxes();
a1.axes_bounds=[0,0,1.0,0.5];
t=0:0.1:20;
plot(t,acosh(t),'r')
a2=newaxes();
a2.axes_bounds=[0,0.5,1.0,0.5];
x=0:0.1:4;
plot(x,sinh(x))
// Now, the "Datatip" button in the toolbar can be tested: it works
// Here a2 is changed to partially overlap a1
a2.axes_bounds=[0,0.25,1.0,0.5];
a2.filled="off";
// Now, the "Datatip" button in the toolbar can be tested: it works for the top (non-overlapped) part of the red curve
// Clicking on the lower (overlapped) part of the red curve has no effect (=it does not work)
// However, it is possible to drag a datatip from the top part (of the red curve) to the bottom part
// But once it is released, you can't grab it anymore.
OTHER INFORMATION:
------------------