Hi, can anyone help me figure out why my graph is not showing me all the data i need it to? When i check the data table it has all the numbers and everything matches to the code, however when it graphs it, It only shows the line graph for 2 of the cities and not all 5.
I am trying to graph the population across time for the ID "VAN" ,"BC", "PG", "KMLPS", "KLWN"
This is my code: twoway (line Population Year if ID=="VAN", color (maroon)) ///
(line Population Year if ID== "BC", color (blue)) ///
(line Population Year if ID== "KMLPS", color (green)) ///
(line Population Year if ID== "KLWN", color (pink)) ///
(line Population Year if ID== "PG", color (yellow)) ///
Please help me its for a class and I have tried many variations of the code and nothing seems to work.
Thanks!
I am trying to graph the population across time for the ID "VAN" ,"BC", "PG", "KMLPS", "KLWN"
This is my code: twoway (line Population Year if ID=="VAN", color (maroon)) ///
(line Population Year if ID== "BC", color (blue)) ///
(line Population Year if ID== "KMLPS", color (green)) ///
(line Population Year if ID== "KLWN", color (pink)) ///
(line Population Year if ID== "PG", color (yellow)) ///
Please help me its for a class and I have tried many variations of the code and nothing seems to work.
Thanks!
Comment