Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72805

Graph dot crops long labels

$
0
0
Hello all!

I am doing a very simple dot graph over a categorical variable that has long labels using this syntax:
Code:
graph dot (mean) myvar, over(catvar)
Unfortunately, the graph dot command seems to to crop my labels. Is there any way to prevent this from happening, such as setting maximum length of labels?

I know the graph module can handle those labels, since I can edit them manually from the graph editor. Furthermore, running a model and using marginsplot on this categorical variable shows the full labels.

Hence, is there a way to set this in the code when running graph dot so I don't have to manually edit my labels every time I run the command?

Thanks!
JP Gauvin

Viewing all articles
Browse latest Browse all 72805

Trending Articles