Line thickness 'invalid data argument' error

7 visualizaciones (últimos 30 días)
Calvin Williams
Calvin Williams el 26 de En. de 2019
Comentada: madhan ravi el 27 de En. de 2019
Can anyone tell me why im getting an "invalid data argument" error when trying to change the line thickness. The commented out line works fine.
%plot(x,f,'r',x,fh,'b')
plot(x,f,'r','LineWidth',3,x,fh,'b','LineWidth',1)
legend('f','fh','Location','best')

Respuestas (1)

madhan ravi
madhan ravi el 26 de En. de 2019
plot(x,f,'r','LineWidth',3)
hold on
plot(x,fh,'b','LineWidth',1)
  2 comentarios
Calvin Williams
Calvin Williams el 26 de En. de 2019
Thank you!
madhan ravi
madhan ravi el 27 de En. de 2019
That's why reading documentation is encouraged therefore no guessing is needed

Iniciar sesión para comentar.

Categorías

Más información sobre Dynamic System Models en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by