Borrar filtros
Borrar filtros

如何使用绘图更改图表中的线条颜色?

1 visualización (últimos 30 días)
Yunhui Fan
Yunhui Fan el 24 de Feb. de 2023
Comentada: Walter Roberson el 14 de Mzo. de 2023
如何使用绘图更改图表中的线条颜色?
  2 comentarios
Steven Lord
Steven Lord el 24 de Feb. de 2023
Google Translate says this question is "How to change the line color in a chart using plotly"
Walter Roberson
Walter Roberson el 25 de Feb. de 2023
I wonder if that refers to https://plotly.com/matlab/ ?

Iniciar sesión para comentar.

Respuestas (1)

Joel
Joel el 14 de Mzo. de 2023
Hi,
You can specify the colour of the line by simply specifying a string in the plot syntax. This string can specify the line color, type of line and type of marker at each data point.
Type the command “help plot” on your command line or refer to the MATLAB Documentation for more information: 2-D line plot - MATLAB plot - MathWorks India
  1 comentario
Walter Roberson
Walter Roberson el 14 de Mzo. de 2023
The question is about plotly which appears to be a third party package.

Iniciar sesión para comentar.

Categorías

Más información sobre Printing and Saving en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by