フィルターのクリア

Show Names of Variables in Plot

3 ビュー (過去 30 日間)
Thomas Fab
Thomas Fab 2021 年 8 月 17 日
コメント済み: Thomas Fab 2021 年 8 月 17 日
Hello,
I was wondering if there´s a feature to display the names of plotted arrays directly in the plot.
I want to figure out the name (e.g. 'voltage17') of the deviating lines (e.g. red line) in a comfortable way (via Plot Browser is not that cool :( )...
Any ideas?
Thanks,
-Thomas-

採用された回答

KSSV
KSSV 2021 年 8 月 17 日
編集済み: KSSV 2021 年 8 月 17 日
Read about the function text. With this you can place text any where on the plot.
x = 1:10 ;
y = x.^2 ;
plot(x,y) ;
hold on
text(x(end),y(end),'last point')
  1 件のコメント
Thomas Fab
Thomas Fab 2021 年 8 月 17 日
perfect, thank you!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by