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

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

2 Commenti

Steven Lord
Steven Lord il 24 Feb 2023
Google Translate says this question is "How to change the line color in a chart using plotly"
Walter Roberson
Walter Roberson il 25 Feb 2023
I wonder if that refers to https://plotly.com/matlab/ ?

Accedi per commentare.

Risposte (1)

Joel
Joel il 14 Mar 2023

0 voti

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 Commento

Walter Roberson
Walter Roberson il 14 Mar 2023
The question is about plotly which appears to be a third party package.

Accedi per commentare.

Categorie

Tag

Richiesto:

il 24 Feb 2023

Commentato:

il 14 Mar 2023

Community Treasure Hunt

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

Start Hunting!

Translated by