3/2/2024 0 Comments Stata xline color![]() Here’s how you might use the above arrow. Here are some that you can copy/paste into your text: ≥ Sometimes you need a superscript 2 or 3, an arrow, or some other special character. Text(35 12000 "", placement(c) justification(left) size(large) box fcolor(none) lcolor(red) lpattern(dash) lwidth(thick) margin(small)) Special characters, and offsetting the Y,X coordinates Text box without outline, playing around with bolding and italicizing: sysuse auto, clear Then you drop a comma, specify placement as centered (c) or cardinal directions (e.g., ne, s, w) of that text box relative to the Y,X coordinates, justification of the text as left-aligned (left), centered (center), or right-aligned (right), and size of the text (vsmall, small, medsmall, medium, medlarge, large, vlarge, huge as shown in - help textsizestyle–). You can bold or italicize by using the it: and bf: formatting and wrapping the text you want to apply it to in brackets. Then add your text in quotes (or multiple quotes in a row if you want to insert a line break). Like everything(?) in Stata, the location is specified as Y then X. ![]() Added text syntaxįirst, make your figure, then add your comma, then add your syntax. Check out the added text help files by typing - help added_text_options- and - help textbox_options- for details. bad.Īdding text to Stata is relatively straightforward, once you get over the initial learning hump. You might opt to highlight a datapoint, add percentages to bars, or say what part of a figure range is good vs. It’s handy to add text to your plots to orient your readers to specific observations in your figures. What’s up with adding text to figures in Stata?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |