Announcement

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

  • limit range of axis in graph dot

    I am using Stata 12 to make a graph dot of 3 ratio variables (i.e. on a 0 to 1 scale). I would like to limit the axis to be from .5 to 1 - could anyone kindly advise as to how to restrict or limit my axis?

    graph dot var1 var2 var3, over(country)

  • #2
    if your data actually range from .5 to 1.0, then the following should work (and will give a label each .1): yla(.5(.1)1.0)

    enter as an option (i.e., after the comma)

    Comment


    • #3
      Thanks Rich but that only labels the axis. I'd like to have just the .5 to 1 part of the axis showing...would you know how to go about doing this?

      Comment


      • #4
        You may need to spell out exclude0 as an option.

        Comment


        • #5
          This resolved the issue - many thanks indeed for the tip

          Comment

          Working...
          X