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

18 visualizzazioni (ultimi 30 giorni)
Marker input is ignored
  4 Commenti
Nitin Phadkule
Nitin Phadkule il 24 Giu 2021
>> [msg,warnID] = lastwarn
msg =
'Marker input is ignored.'
warnID =
'MATLAB:graphics:constantline:IgnoredMarker'

Accedi per commentare.

Risposta accettata

Nitin Phadkule
Nitin Phadkule il 25 Giu 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 Commenti
Walter Roberson
Walter Roberson il 28 Giu 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);

Accedi per commentare.

Più risposte (1)

Walter Roberson
Walter Roberson il 25 Giu 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.

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by