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
Constraints on interaction coefficientsDear Statalist members, english is not my native language, if something should be incomprehensible,…
Change repeated obs. within idDear Statalist, I am working with a longitudinal data structure, and I need to deal with several rep…
Unpaired t-test with weightHello, I'm dealing with the descriptive statistics for a data set. Two variables related to paterna…
Fuzzy matching: choosing potential matches (reclink/matchit)Does anyone know how reclink chooses which potential matches to report? Does it effectively sort the…
Dealing with singular covariance matrix in Seemingly Unrelated Regression (sureg)Dear all : Thank you for your help in advance. I’m the user of Stata MP/16.0. I have a panel data…
Subscribe to:
Post Comments (Atom)
0 Response to Changing format of ylabels in a scheme
Post a Comment