Hello,
I try to make a Plot with 2 Subplots and use the gr() backend. The first (p1) is a 3D surface plot and the 2. (p2) a 2D contour plot. The axis of both subplots are also different. I tried to put the annotation in the second subplot but it didn’t appear and I get the error “z is not defined” (p2 is 2D).
I think I have to do
p3= plot(p1,p2, layout = grid(2, 1,heights=[0.6 ,0.4]), annotate(???))
But I can’t get it to work. Which coordinates should I take, the data coordinates from p1 or p2? Or can I do something like bottom_right for the whole figure? I searched the doc but didn’t find the Answer.
Any help is highly appreciated