error message while "text" function using

4 ビュー (過去 30 日間)
Nicolas Humblot
Nicolas Humblot 2016 年 6 月 20 日
コメント済み: Nicolas Humblot 2016 年 6 月 20 日
Hello I'm trying using the function "text" but I can't and this message displays:
Undefined function 'Text' for input arguments of type 'double'.
Error in TUS_developpement (line 64)
Text(Os, TpsTC, '\leftarrow T°maxi', 'FontSize', 24)
I checked my license, path and directory and all is ok from this side. Anybody could have help me ? I join my part of programm:
B= A(:,2:16);
Os= max(max(B));
[r,c]=find(B >= Os);
TC = max(c)
TpsTC = max(r)
plot (TpsTC, Os)
Text(TpsTC, Os, '\leftarrow T°maxi', 'FontSize', 24)

採用された回答

cbrysch
cbrysch 2016 年 6 月 20 日
You are using a capital T in text() therefore Matlab doesn't recognizes it as a command. Using
text(TpsTC, Os, '\leftarrow T°maxi', 'FontSize', 24)
should work.
  1 件のコメント
Nicolas Humblot
Nicolas Humblot 2016 年 6 月 20 日
Thanks a lot, it was exactly my problem, I didn't see it...

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by