I want to have multiple lines on one graph where each line is the set of column percentages from a two-way cross tab; here is a simplified table
I want two lines on my graph one for Domestic cars and one for Foreign
the above is simplified in that my real example will have 6 columns rather than 2
Code:
sysuse auto
. ta rep78 fore, mi col nofreq
Repair |
Record | Car type
1978 | Domestic Foreign | Total
-----------+----------------------+----------
1 | 3.85 0.00 | 2.70
2 | 15.38 0.00 | 10.81
3 | 51.92 13.64 | 40.54
4 | 17.31 40.91 | 24.32
5 | 3.85 40.91 | 14.86
. | 7.69 4.55 | 6.76
-----------+----------------------+----------
Total | 100.00 100.00 | 100.00
the above is simplified in that my real example will have 6 columns rather than 2

Comment