Announcement

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

  • Shifting Horizontal Axis to Zero while Y runs from negative to positive

    Hi,

    I am plotting a scatter of negative concentration index values (Y axis) against participation in a scheme (X axis). Since concentration index values are negative , my horizontal axis starts from negative of y while I want x-axis line to start from zero with ticks. i.e, when y=0. I am using the following codes:

    graph twoway (scatter ci percentage_participate) (lfit ci percentage_participate), legend(off) ytitle("Concentration Index", height(6)) title("Population participate in employment scheme and inequality)") xtitle("Percentage of participation", height(6)) ylab(, nogrid) graphregion(color(white)) plotregion( m(b=0) )

  • #2
    Repeated at https://www.statalist.org/forums/for...tter-plot-axis

    If interested, please follow there.

    Comment

    Working...
    X