Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72772

Xlabel Bar Graph

$
0
0
Why can I not change the xlabels of by bar graph from numbers to meaningful names? I get always the following error messages:

xlabels(1 PGM" 0 "PGM invalid name
r(198);

Code:
 #delimit ;
graph bar (mean) prelapse, over(pgma)
bargap(-30)
note("Source: Created by the author based on PGMD and UCDP data")
scheme(s1mono)
blabel(bar, position(outside))
ytitle("Percentage of recurring conflicts to total number of conflicts")
xlabel(1 "PGM" 0 "PGM absence")
title("Relative frequencies of conflict recurrences")
ylabel(0 "0%" 0.2 "20%" 0.4 "40%" 0.6 "60%")
name(grapha, replace);
#delimit cr

Viewing all articles
Browse latest Browse all 72772

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>