matlab.graphics.illustration.Legend/set
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi, I was wondering if anyone could help me get past this error using matlab to create a graph?
There appears to be an issue with setting the legend and I'm not sure how to fix this
Many thanks in advance!
![Screenshot 2019-10-23 at 11.51.37.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/244217/Screenshot%202019-10-23%20at%2011.51.37.png)
댓글 수: 0
답변 (2개)
Steven Lord
2019년 10월 23일
The legend object does not have a property named Blue.
If you're trying to change the colors of the objects listed in the legend, change the Color properties of those objects. You can't change them via the handle returned from legend as far as I am aware.
참고 항목
카테고리
Help Center 및 File Exchange에서 Legend에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!