Change histogram legend marker [R2017b]
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
I have plotted a histogram and some horizontal limit lines.
When I run the code
[lgd, lObjs] = legend(voltageHist, ['File: ',file],'90 kV','100 kV', 'Location','southoutside','Orientation','horizontal');
my marker for the File string disappears. If I run the line :
lgd = legend(voltageHist, ['File: ',file],'90 kV','100 kV', 'Location','southoutside','Orientation','horizontal');
all works as expected. It seems second return value is creating the problem of the marker disappearing. I would like to change the legend marker to a line and not a box. The box that was there in the second scenari is shown below:
I cannot manage to change the marker and the presentation is important in this case.
Any help would be appreciated.
Kind regards, TJ
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Legend에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!