필터 지우기
필터 지우기

How to change Edge Color of lines?

조회 수: 63 (최근 30일)
Adi
Adi 2012년 7월 25일
Hello
I am plotting multiple lines in a single image using the Plot command. By default, the color of lines is blue but I want their edges to be of a different color. How can I do this? I read about EdgeColor function but couldn't figure how to use it. (If I use it alongside Plot, I get an error - Invalid Propert found).
Thanks in advance
Regards Adi

채택된 답변

Jan
Jan 2012년 7월 25일
line objects do not have an edgecolor. You can draw a patch or surface with an edgecolor. If the line uses markers, their edgecolor, 'MarkerEdgeColor', can be adjusted.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by