Announcement

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

  • Remove gaps between the y-axis first or last ticks and horizontal frames of a box plot

    Hi Stata box plot experts;

    I am sketching a box plot using Stata. These are my codes for y-axis labels and scales

    yscale(range(0 100))
    ylabel(0 (20) 100 , angle(horizontal) nogrid tpos(centre))

    What I see is that (unlike two-way graphs) there is a small gap between the first tick, 0, and the lower horizontal frame of the graph inside (or between the last tick, 100, and the upper horizontal frame of the inside of the graph).

    Do you have an idea of how I can remove these small gaps?

    Thanks

  • #2
    You could add the option plotregion(margin(none))
    ---------------------------------
    Maarten L. Buis
    University of Konstanz
    Department of history and sociology
    box 40
    78457 Konstanz
    Germany
    http://www.maartenbuis.nl
    ---------------------------------

    Comment

    Working...
    X