5/2/2024 0 Comments Xline stata color![]() (line HH_F56_pc Region_kat, color(cyan) lwidth(medium)) /// Graph twoway (bar F56_pc_reg Region_kat, yscale(range(0 100)) bstyle(none) fcolor($dunkelblau) lcolor($dunkelblau) barwidth(0.8)) /// Label def Regionen 1 "Innenstadt" 2 "Mitte Ost" 3 "Hafen/Elbe" 4 "Altona Zentrum" 5 "Altona Ost" 6 "Altona West" 7 "Eimsbüttel Süd" 8 "Eimsbüttel Nord" 9 "Winterhude/Eppendorf" 10 "Hoher Norden" 11 "Barmbek-Uhlenhorst" 12 "Wandsbek Zentrum" 13 "Wandsbek Mitte" 14 "Walddörfer" 15 "Rahlstedt" 16 "Bergedorf" 17 "Harburg Ost" 18 "Harburg West", modify I provided the following MWE and hope, somebody can help.Ĭode: * Example generated by -dataex. I am not sure whether an update would already solve this problem. I am working with Stata 16 and a quite old revision date () because our IT department is just now in the process of updating to a more recent revision date from Decemer 2021 (which has to be done manually because I am working from a closed network). I also tried adding a pci-graph instead of the xline-option, but found no way to extend the vertical line without messing up my y-scale-range. When bstyle(none) is not specified the color of the bar-outline is not affected by xline, but as I said, the color of the bar itself is wrong. But adding bstyle(none) also has the unwanted effect that the lcolor that I specified for additional xlines, is also applied to the bars overriding the previous lcolor-command specified in the barlook-options. I have to use a very specific color scheme due to corporate identity rules and therefore I have to add the option bstyle(none) because otherwise graph twoway bar automatically reduces the opacity of the color. I am encountering a problem with graph twoway bar when using the barlook-option bstyle(none) and an added xline-option.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |