r - How to set up line type in plot.xts? -
i have multiple (about 10) time series , want draw lines using plot.xts
. don't know how set types of line, i.e., dashed line, solid line, etc., in function of plot.xts
. have found discussions on color setting without findings on issue. can give me hint or directions?
visual parameters of plot should know
lwd
- width of line
lty
- 1 = solid , 2 = dashed , 3 = dotted.
if want draw multiple lines on same graph plot first 1 using plot
, others using lines
.
Comments
Post a Comment