フィルターのクリア

Adding points onto graph with only X values

7 ビュー (過去 30 日間)
Allen Antony
Allen Antony 2020 年 10 月 29 日
回答済み: Anudeep Kumar 2020 年 11 月 2 日
I filtered a graph and then used the findpeaks function to get the x values for the peaks. However when I filtered my graph the y-values changed from 700 to 1500 range to a -400 to 400 range. The x values are the correct, however I am not sure how to use text() to label points on the unfiltered data, or if there was another function I could use.
Thanks

回答 (1 件)

Anudeep Kumar
Anudeep Kumar 2020 年 11 月 2 日
Hey,
This function will help you to perform the required task. Once you have obtained the x and y coordinates of the peak. You can use the function as follows:
If x coordinate of the peak is 5 and y is 4 and the text you want to print is 'Peak'
text(5,4,'Peak');
This is the link to the documentation of the function text().

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by