Change marker types on a time series plot
古いコメントを表示
I have this time series graph and I want to change the markers from dots to vertical lines originating from (x,0). This is the code I used to create the timeseries and plot it.
GAUGE_ts = timeseries(RNFLG,Dates);
SAT_ts = timeseries(SAT_RNFL,Dates);
GAUGE_ts2 = timeseries(RNFLG2,Dates2);
figure %Time series plot
plot(GAUGE_ts,'.','markers',12)
hold on
plot(SAT_ts,'.','markers',12)
plot(GAUGE_ts2,'.','markers',12)
When i change the marker symbol from '.' to '-', I get a line connecting all the pints.

採用された回答
その他の回答 (1 件)
Brandon Bush
2018 年 10 月 30 日
編集済み: Brandon Bush
2018 年 10 月 30 日
0 投票
カテゴリ
ヘルプ センター および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!