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
Ordinal logistic with Panel data and violation of the proportional odds assumptionHi, I have ordinal data with repeated measurements and I would like to fit a random effects model bu…
Matching components of string variablesI have data from a trial where a patient answers a set of questions in the sequence q12, q14, q16 an…
An error "plugin not loaded or not available: use the adoonly option" accur after "ml maximize"I am trying to learn how to use mdraws by Cappellari and Jenkins.When replicating the example test_t…
Single imputationHi experts, I try to use Stata to conduct single imputation for three variables. Two are continuous…
Time-varying Covariate with Competing RisksHello, I have to study the relationship between a drug exposure and outcomes, adjusting for other c…
Subscribe to:
Post Comments (Atom)
0 Response to Changing format of ylabels in a scheme
Post a Comment