asdocx: Export from Stata to Word, Excel, LaTeX & HTML › Forums › asdocx Forum › Support to hexplot, reldist, heatplot, marginsplot, in asdocx › Reply To: Support to hexplot, reldist, heatplot, marginsplot, in asdocx
Hello Professor Eric
I have now added support for the following packages / graphs:
1. heatplot
2. hexplot
3. marginsplot
How to use marginsplot
Since the marginsplot
is made after the margins and regress commands, therefore, the following two lines of codes are necessary for creating this graph with asdocx.
1. regress
command should be executed as a first step.
2. asdocx marginsplot, margins_command()
In the second step, we need the option margins_command()
with the margins command given inside the brackets. See this example
*Load example data webuse nhanes2 * Estimate regression regress bpsystol agegrp##sex * Create the margins plot asdocx marginsplot, margins_command(margins agegrp)