Hi,
I want to add a parameter to a scheme to make the ylabels of a graph display in a given format. I think most of the time %9.0fc is fine for me, so if I can only have one then i'll go with that; but if it's additionally possible to add in dynamic elements (i.e. "if yvar <5 ylabel format is %9.1f") then i can set up a few different options that would remove 90% of the instances where I have to hardcode graph options.
Does anyone know how to do this? I've looked through a few schemes that automatically display ylabels with commas for every third digit, but can't seem to see which line(s) of code is producing that result.
Also, is it just me or are schemes really under-documented? When I look at a scheme you can see parameters for gsize, alignstroke, axisstyle, yesno draw_major_grid, etc., and can pretty much figure out what all the entries are doing based on knowledge of twoway options, but the help file for schemes doesn't go into nearly so much detail. It seems to be more of a resource to help you use other people's schemes, not to create your own. Am I looking in the wrong place?
Related Posts with Changing format of ylabels in a scheme
Endogeneity test for two endogenous variables using REIV (xtivreg, re)Dear all, I am using an REIV using the command "xtivreg, re". I have two endogenous variables, y2 a…
Need help with Mean for Grouped DataArray Good morning Stata Family, Please I want to create a new variable for the average wage earne…
Specification of treatment and control group in diff-in-diffDear all, I am doing a difference-in-differences estimation to see the effect of a parental leave re…
Generating new ID variable taking into account duplicates across 2 other variablesFirst time poster, so I’m sorry for any errors… I have two ID variables (ID1 and ID2). I want to cr…
marginal effectsDear everyone, I have a regression on GDP where I include both inflation, inflation^2 and one lag o…
Subscribe to:
Post Comments (Atom)
0 Response to Changing format of ylabels in a scheme
Post a Comment