How do I change plot line widths?

172 visualizaciones (últimos 30 días)
Benjamin Haag
Benjamin Haag el 2 de Feb. de 2019
Respondida: Aik-Siong Koh el 8 de Jul. de 2021
I'm trying to plot two arrays of values and change the width of the resulting line, however I can't seem to get it to work. I've tried several approaches and nothing seems to be yielding any results.
plot(X_a,Y_a,'LineWidth',10);
  6 comentarios
Benjamin Haag
Benjamin Haag el 3 de Feb. de 2019
Got it working, for some reason my function wasn't updating when I called it to check my work. All set now. Thanks!
Adam Danz
Adam Danz el 3 de Feb. de 2019
If the m-file containing your function is stored on a remote driver or server, sometimes you need to rehash the path after making changes to the m file before those changes take effect.
rehash path

Iniciar sesión para comentar.

Respuestas (1)

Aik-Siong Koh
Aik-Siong Koh el 8 de Jul. de 2021
See comments for answer.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by