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

22 Ansichten (letzte 30 Tage)
Marker input is ignored
  4 Kommentare
Nitin Phadkule
Nitin Phadkule am 24 Jun. 2021
>> [msg,warnID] = lastwarn
msg =
'Marker input is ignored.'
warnID =
'MATLAB:graphics:constantline:IgnoredMarker'

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Nitin Phadkule
Nitin Phadkule am 25 Jun. 2021
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 Kommentare
Walter Roberson
Walter Roberson am 28 Jun. 2021
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);

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 25 Jun. 2021
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.

Kategorien

Mehr zu App Building finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by