I have a two-way line graph in which there are a lot of line overlay. Is there a way to add a label to each line to show the number of overlaying lines?
In this graph there are around 60 lines. I want to have a label on each line that shows the number of overlaying lines.
Thanks,
Hossein
Code:
levelsof date2, local(datevalues) levelsof assetid2, local(idvalues) local linecmd " " foreach i of local datevalues { foreach j of local idvalues { local linecmd "`linecmd' (line price blocknumber if date2 == `i' & assetid2 == `j' , connect(stepstair) xtitle(Blocks) ytitle(Price($/MWH))) " } } di "`linecmd'" twoway `linecmd', legend(off) title(Hourly Bids Over Two Months (Feb-March-2014) For Hour=18- SH1, tstyle(size(medium)))
In this graph there are around 60 lines. I want to have a label on each line that shows the number of overlaying lines.
Thanks,
Hossein
Comment