フィルターのクリア

Problem with the title of a graph

3 ビュー (過去 30 日間)
valerio auricchio
valerio auricchio 2019 年 4 月 2 日
コメント済み: madhan ravi 2019 年 4 月 2 日
I want to write on the title pf the graph the function that i'm plotting, the function is insert in the command window.
fun=x^2-2;
title(['The graph of ',fun])
  2 件のコメント
Adriano Filippo Inno
Adriano Filippo Inno 2019 年 4 月 2 日
May with the following line:
title(['The graph of ',func2str(fun)])
madhan ravi
madhan ravi 2019 年 4 月 2 日
@Adriano: I suggest you to move your comment to the answer section below.

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

採用された回答

KSSV
KSSV 2019 年 4 月 2 日
編集済み: KSSV 2019 年 4 月 2 日
title('The graph of (x^2-2)')

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by