wolfram mathematica - How can I make a Tooltip to show only the epilog value on a ListLinePlot when hover? -


so, have many images of zeeman interference patterns. task find positions of intensity peaks. i've written script finds maximum values, choose values need "hand", very-very boring, , take long time.

kep = import["c:\users\martin\documents\egyetem\4. félév\modern fizika \labor\6. zeeman-effektus\sigma_50.png"]; adat = imagedata[kep, "byte"][[577]][[all, 1]]; csucsok = n[findpeaks[adat, 0.6, 0.6, 75]]; listlineplot[adat, axeslabel -> {"pixel", "intenzitás"}, plotlabel -> "sigma_50.png", imagesize -> large, plottheme -> "classic", epilog -> {red, pointsize[0.008], point[csucsok]}] 

i have little tooltips shows position(x axis value) of red dot(and red dots), , intensity value(y axis) when click on them, or mouse on them. there way this?

maybe make tooltip points separate plot:

 data = table[{i, randomreal[{-1, 1}]}, {i, 20}];  toplot = select[data, #[[2]] > 0 & ];  show[{       listlineplot[ data],       listplot[tooltip[toplot], plotstyle -> {pointsize[.05], red}]}] 

(we cant see doing without data..)


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -