フィルターのクリア

How to includ/plot the local maxima date on a plot?

4 ビュー (過去 30 日間)
Wolfgang McCormack
Wolfgang McCormack 2021 年 1 月 28 日
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)
plot(Mytime,Data, x_peaks,pks,'pg')

回答 (0 件)

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by