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!