![]() ![]() 0967388 Kurtosis 2.395841Edit: after quite a while, did I notice Friedrich' suggestion on a similar verge, i.e, to - reshape long - as well. The histogram fill color is stc1 with a 90 intensity, while the outline color. reshape long headline underlying, i(id) j(phase) Reference lines and lines added with the xline() and yline() options are black. And for the pair of lines for each country, I want red for headline inflation, and blue for underlying, so that they can be distinguished. I already transformed the inflation rates for each country such that for country A, value 1 correspond 0% inflation rate, for country B value 2 correspond to 0% inflation rate, so that the lines for country A will fluctuate around 1, and those for country B around 2, country C around 3, etc. I want to plot on the same graph both types of inflation for a number of countries. line is a command and a plottype as defined in G-2 graph twoway. The graph bar command is notorious for its inflexibility. My question is, given the limit on number of arguments, is there a way to assign one color to lines of Set1 and another color to lines of Set2.įor illustration, the Set1* lines are headline inflation, and Set2* lines are underlying inflation. msymbol(O D S T + X o d s t smplus x) is the default. SeeG-3 marker options for a description of markers and the options that specify them. Xsize(10) ysize(20) xlabel(#10) ylabel(1(4)14, labsize() tlength(zero) glwidth(vvvthin) glstyle(dot) glcolor(black)) ytick(none) ymlabel(none) Lines may be added to the graph for emphasis by using the added line options yline() and xline() see G-3 added line options. Markers have shape, color, and size, and other characteristics. tline() is an extension to xline() see TS tsline for examples using tline. Subtitle(,size(small)) tlabel(,format(%tCHH) labsize(vsmall)) legend(off) ytitle("") xtitle("") title("") /// yline(), xline(), and tline() are used with twoway to add lines to the plot region. Lcolor (red red red red red red red red red red red red red red blue blue blue blue blue blue ) /// Single-hue sequential schemes (39 colors) Blues light blue to blue Oranges light orange to orange Greens light green to green Purples light purple to purple Greys light gray to gray Reds light red to red. Graph twoway tsline Set1A Set1B Set1C Set1* Set2A Set2B Set2C Set2*, /// ColorBrewer palettes for Stata have also been provided by Gomez (2015) and by. You go to that directory and look for a folder named s (just the single letter s). You should then look for the entry PERSONAL: (normally I dont like using all capital letters, but that is the name of the entry). You might look into "pstyles".Thanks Doug. To find out where Stata is looking on your machine you can type in Stata help sysdir. It would help to have the code you are starting from, to better understand the organization of the data you are starting from, and the graph you hope to end up with. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |