I have the following code to produce graphs:
I want to comment out the indented "lfit" lines because I do not need it this time, but I would like to keep the lines there.
I tried using "//" on every line, and "/**/" on the whole sub-block. However, this gives an error that sees "legend..." already as a new command (i.e. as a new line that is no longer connected to the previous part).
How can I comment out the indented part without deleting it?
HTML Code:
twoway ///
|| rcap upper lower `x' if `t'==1 , lc(`col1') lpattern(dash) ///
|| rcap upper lower `x' if `t'==0 , lc(`col2') lpattern(dash) ///
|| bar `y'_count `x' if `t'==1, yaxis(2) lcolor(`col3') barwidth(0.8) lwidth(vvthin) fcolor(none) ///
|| bar `y'_count `x' if `t'==0, yaxis(2) lcolor(`col3') barwidth(0.8) lwidth(vvthin) fcolor(none) ///
|| scatter `y'_mean `x' if `t'==1 , mc(`col1') msymbol(square) ///
|| scatter `y'_mean `x' if `t'==0 , mc(`col2') msymbol(T) ///
|| lfit `y'_mean `x' if `x'< 60 & `t'==1 , lc(`col1') ///
|| lfit `y'_mean `x' if `x'< 60 & `t'==0 , lc(`col2') ///
|| lfit `y'_mean `x' if `x'>=60 & `t'==1 , lc(`col1') ///
|| lfit `y'_mean `x' if `x'>=60 & `t'==0 , lc(`col2') ///
legend(order(3 "`tlabel1'" 4 "`tlabel0'" ///
...
I tried using "//" on every line, and "/**/" on the whole sub-block. However, this gives an error that sees "legend..." already as a new command (i.e. as a new line that is no longer connected to the previous part).
How can I comment out the indented part without deleting it?
Comment