Plot command, horizontal line as a marker
조회 수: 4 (최근 30일)
이전 댓글 표시
Hi,
I am combining a bar plot with a line plot and want to use the '_' as the marker for the line plot. However when I run the command, I get the following error
plot(1:1:4,1:1:4,'k','LineStyle','none','Marker','_')
Error using plot
'_' is not a valid value. Use one of these values: '+' | 'o' | '*' | '.' | 'x' | 'square' | 'diamond' | 'v' | '^' | '>' | '<' | 'pentagram' | 'hexagram' | 'none'.
댓글 수: 1
답변 (1개)
Star Strider
2020년 10월 13일
The '_' (and '|') markers were introduced in R2020b. So to use it, you will need to upgrade to the latest release. (The online documentatiion is for R2020b.)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!