Dear all,
I am struggling in creating a graph that fits my needs.
I need to have a graph that is longer than the default size, and I know that this can be done by using the ysize(#) option.
However if I do that the graph rescales all the text in a way that I cannot control properly and create issues to both my legend and my title.
Here is an example you can easely replicate with the auto dataset. With default size both titles and legends fits well, but if I use the ysize(#) option, everything get messed up:
Can you suggest me a way to have a longer graph but that keep fixed the size of the text ?
Any help would be great.
Best.
D.
I am struggling in creating a graph that fits my needs.
I need to have a graph that is longer than the default size, and I know that this can be done by using the ysize(#) option.
However if I do that the graph rescales all the text in a way that I cannot control properly and create issues to both my legend and my title.
Here is an example you can easely replicate with the auto dataset. With default size both titles and legends fits well, but if I use the ysize(#) option, everything get messed up:
Code:
use "http://www.stata-press.com/data/r13/auto", clear scatter mpg trunk headroom turn gear_ratio weight, title("This is a very long long long long long long long title", span) legend( label(1 "this is a long long long text") label(2 "this is a long long long long text")) scatter mpg trunk headroom turn gear_ratio weight, title("This is a very long long long long long long long title", span) legend( label(1 "this is a long long long text") label(2 "this is a long long long long text")) ysize(10)
Any help would be great.
Best.
D.
Comment