when I ran a MATLAB app I created I get Warning: Marker input is ignored in command prompt. What this means

21 ビュー (過去 30 日間)
Marker input is ignored
  4 件のコメント
Walter Roberson
Walter Roberson 2021 年 6 月 24 日
If you then execute
[msg,warnID] = lastwarn
then what shows up for warnID ?
Nitin Phadkule
Nitin Phadkule 2021 年 6 月 24 日
>> [msg,warnID] = lastwarn
msg =
'Marker input is ignored.'
warnID =
'MATLAB:graphics:constantline:IgnoredMarker'

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

採用された回答

Nitin Phadkule
Nitin Phadkule 2021 年 6 月 25 日
Thanks for the reply, i got the reson of error but i want markers to be shown below. Please suggest how to supress warning.
  4 件のコメント
Walter Roberson
Walter Roberson 2021 年 6 月 28 日
yline(app.UIAxes_2,0, 'k_', 'LineWidth', 2);
Underscore is a marker style that indicates a horizontal line. You want
yline(app.UIAxes_2,0, 'k-', 'LineWidth', 2);
Nitin Phadkule
Nitin Phadkule 2021 年 6 月 29 日
Thanks after removal of yline warning disappeared.

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

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2021 年 6 月 25 日
Something in your code invokes either xline() or yline(), and specifies a marker in doing so. For example,
xline(4, 'r*')
However, xline() and yline() do not permit markers.

カテゴリ

Help Center および File ExchangeGeometric Transformation and Image Registration についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by