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

14 visualizaciones (últimos 30 días)
Marker input is ignored
  4 comentarios
Nitin Phadkule
Nitin Phadkule el 24 de Jun. de 2021
>> [msg,warnID] = lastwarn
msg =
'Marker input is ignored.'
warnID =
'MATLAB:graphics:constantline:IgnoredMarker'

Iniciar sesión para comentar.

Respuesta aceptada

Nitin Phadkule
Nitin Phadkule el 25 de Jun. de 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 comentarios
Walter Roberson
Walter Roberson el 28 de Jun. de 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);

Iniciar sesión para comentar.

Más respuestas (1)

Walter Roberson
Walter Roberson el 25 de Jun. de 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.

Categorías

Más información sobre Geometric Transformation and Image Registration en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by