For my application, I need to be able to obtain data points when hovering over a surface plot. As far as I know:
Makiehas no backend that supports this feature
Plots, there are two backends that allow this: Plotly (or PlotlyJS) and PyPlot.
Here is a MWE for both backends:
using Plots plotly() # pyplot() a = 1:0.1:20; b = 5:0.05:10; c = [x*log10(y) for x in a, y in b] plot(a,b,c',seriestype=:surface)
When I try to use
PlotlyJS) for this, I manage to print the surface, but no data is shown when hovering over the surface with the mouse. This situation does not change if I toggle on and off the button Toggle show closest data on hover.
As you can see in the image, the point is found (there are axes across the surface to the point where the mouse is) but there is no “datatip” showing the coordinates. I know that this is possible using this backend because the original documentation shows an example of it in the web.
Same thing happens, but in the case of
PyPlot the coordinates should be in the upper-right corner. It looks empty in the image (signaled with a big black arrow):
I hope you can help me, this is the final step I need in order to transition from MATLAB to Julia. In MATLAB plotting was usually easier, but I find it worth it to “suffer” this part of Julia while it improves, the rest of it is awesome.
Thanks a lot!