![]() ![]() I assume, there's some additional setting, or a Stata plugin that I'm missing. Is there a way to make the dots actual circles? Except for changing the color, the code I'm using is taken from an old project that created the figures like this: (line sen_total_perc year, lcolor(dkorange) lwidth(vthick) lpattern(dot) /// We see that the colors in Statas s2 palette are sufficiently distinguishable under normal vision, but that they are problematic for black and white print or for people suffering from color vision deficiency (CVD). The Data plot - Histogram with xline in Stata - Stack Overflow Web1 day ago. The code I'm using is: twoway (line asm_total_perc year, lcolor(navy) lwidth(thick) lpattern(dash)) /// The option color (red30) makes the oft flash manager how to create. lpattern(dash)), xline(0, lcolor(gs0)) title(Quadratic fit, color(gs0)). Stata's help files have been no help either. We finished the last article about Stata with the confusing coding of. Just specify the -xline ()- option in your -graph twoway- command. This is why I made up some fake data below. I think in future posts you may want to shoot for a fully working example to maximize the chance that you get a good answer quickly. I can't figure out any way to change the default symbol for a dotted line from a pipe to an actual dot, and have spent a couple hours already using every combination of search terms I can think of to figure it out. , 20:53 If you just want a vertical line superimposed on the graph and you know the x-coordinate for the line, you don't need to know the range of y. 1 Answer Sorted by: 2 Your example will not really work as written without some additional work. The problem is that Stata's dotted line looks awful, it's not a dot at all, but a vertical line. I'm trying to create a twoway line graph in Stata that, because it will likely be photocopied and/or printed in black & white, we need to use dashed and dotted lines to differentiate between lines. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |