How to put lines with pre-defined slopes on a plot
古いコメントを表示
Hi all. I want to put lines with pre-defined slopes (i.e. between 0.85 and 1.15) onto a matlab plots. Any help is much appreciated.Thanks

3 件のコメント
Jan
2021 年 4 月 29 日
What exactly is your question? Draw the lines with the line() command.
Qaisar Latif
2021 年 4 月 30 日
Mathieu NOE
2021 年 4 月 30 日
hello
you simply have to compute the derivative of your data (gradient )and search the points where the slope reaches the two targeted values
it's then fairly simple to draw a portion of line knowing the x and y coordinates and the slope
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!