フィルターのクリア

How to remove values from the top x-axis?

5 ビュー (過去 30 日間)
Udit Srivastava
Udit Srivastava 2017 年 6 月 11 日
コメント済み: Star Strider 2017 年 6 月 11 日
Hey all,
Any idea about why am I getting values written on top axis and how to remove it?
Thanks.

採用された回答

Star Strider
Star Strider 2017 年 6 月 11 日
Use an empty string for the title argument:
f = @(x) x.^2 - 10*x;
figure(1)
ezplot(f, [-2 2])
grid
title('')
  4 件のコメント
Udit Srivastava
Udit Srivastava 2017 年 6 月 11 日
Sir, why am I seeing these values?
Star Strider
Star Strider 2017 年 6 月 11 日
If by ‘these values’ you intend the equation you are plotting in the title, that is simply the default behaviour of ezplot. In the fplot function, the default is not to print the title.
Consider experimenting with fplot (introduced before R2006a), especially since ezplot is being deprecated.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Object Identification についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by