Skip to main content

All Questions

Tagged with
0 votes
1 answer
2k views

Superimpose linetype on CI color in marginsplot legend (Stata)

I am wondering if it's possible to superimpose linetypes (the plotopts argument, i.e., dot, dash, solid line, etc.) onto their corresponding CI (the ciopt argument, i.e., color)? I use the following ...
Chris T.'s user avatar
  • 1,789
0 votes
1 answer
3k views

Add marker label to all lines in a graph in Stata?

I'm trying to add a marker label (mlabel) to a graph based on a variable, but it only labels the first of the years in the graph and not the others. Is there a way to have it label all the years? My ...
Kiefer's user avatar
  • 163
0 votes
2 answers
878 views

Create graph legend inside loop in Stata

I would like to generate graphs for different datasets, with the same variables, but in which the years change. So far I can generate the graphs, without a legend, doing this: levelsof year, local(...
Kiefer's user avatar
  • 163
2 votes
1 answer
7k views

Stata graph with no horizontal lines in the graph and no legend border

I am exporting my Stata graphs as *.eps in order to implement them in LaTeX. I'm using the following options: xtline bhar_pct if decile==1 | decile==10 | decile==11, overlay ///graphregion(color(...
eternity1's user avatar
  • 671