Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Graph dot crops long labels

    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

  • #2
    I have a helper program that is part of a larger program eda that I use to split labels to a user specified lengths. Some others have done similar things and you may have some luck searching the SSC archives for user written programs.

    Comment

    Working...
    X