How to includ/plot the local maxima date on a plot?
1 view (last 30 days)
Hi everyone, I have defined the following and it shows the date values intractively (mytime) on the plot, but I want to actually plot them on the figure so that I can export it as jpeg. Also, how can I highlight them with triangles as the normal findpeaks does?
[pks,locs] = findpeaks(Data,'MinPeakProminence',2)
x_peaks = Mytime(locs)