Hi,
I'm running into an error using tsline (with markers) where certain consecutive data points that should be connected are not being connected. See attachment. For example, the blue points in 2006q1 and 2006q2 should be connected (as well as several other points). I am using the cmissing(n) option, which is working as expected.
Here's a portion of the code that creates the chart
Any idea what the issue could be? Or is there any more info that would be helpful to provide?
Thanks!
I'm running into an error using tsline (with markers) where certain consecutive data points that should be connected are not being connected. See attachment. For example, the blue points in 2006q1 and 2006q2 should be connected (as well as several other points). I am using the cmissing(n) option, which is working as expected.
Here's a portion of the code that creates the chart
Code:
graph twoway ( bar total_1 quarter, yaxis(1) bc("68 114 196") fintensity(inten50)) ( bar total_2 quarter, yaxis(1) bc("237 125 49") fintensity(inten50)) ( bar total_3 quarter, yaxis(1) bc("edkblue") fintensity(inten50)) ( tsline price1, yaxis(2) recast(connected) msymbol(smcircle) msize(small) cmissing(n) lpattern(solid) mc("237 125 49") lc("237 125 49") ) ( tsline price2, yaxis(2) recast(connected) msymbol(smcircle) msize(small) cmissing(n) lpattern(solid) mc("68 114 196") lc("68 114 196") )
Thanks!
Comment