필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
Yunhui Fan
Yunhui Fan 2023년 2월 24일
댓글: Walter Roberson 2023년 3월 14일
如何使用绘图更改图表中的线条颜色?
  댓글 수: 2
Steven Lord
Steven Lord 2023년 2월 24일
Google Translate says this question is "How to change the line color in a chart using plotly"
Walter Roberson
Walter Roberson 2023년 2월 25일
I wonder if that refers to https://plotly.com/matlab/ ?

댓글을 달려면 로그인하십시오.

답변 (1개)

Joel
Joel 2023년 3월 14일
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
Walter Roberson
Walter Roberson 2023년 3월 14일
The question is about plotly which appears to be a third party package.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Printing and Saving에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by