When using aspectratio(0.4), even zeroing margins inside the graphregion() command doesn't remove the extra top and bottom margins.
If you are dealing with a .eps figure, this is especially annoying because you require some fancy software to manually remove margins.
Does anyone know how to solve this problem? I know that aspectratio doesn't change the graph size, but isn't there any user-written command that may adjust this?
Example code to generate an empty graph with top-bottom margins:
If you are dealing with a .eps figure, this is especially annoying because you require some fancy software to manually remove margins.
Does anyone know how to solve this problem? I know that aspectratio doesn't change the graph size, but isn't there any user-written command that may adjust this?
Example code to generate an empty graph with top-bottom margins:
Code:
gen z =0 gen y=0 twoway (line y z, aspectratio(0.4)), graphregion(margin(0 0 0 0))
Comment