Announcement

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

  • Renaming variables on y-axis of alluvial plot

    I am trying to rename the columns on the y-axis of an alluvial plot.
    My code looks like this:
    alluvial govtfacilitynocat2 privatefacilitynocat2 tradhealervisitcat2 otherfacilityvisitcat2,ylabel(govtfacilitynocat2 "public" privatefacilitynocat2 "private" tradhealervisitcat2 "trad.healer" otherfacilityvisitcat2 "other").

    I keep getting the error: option ylabel() not allowed.

    Is it possible to change these labels without going back to the dataset and changing them there?

    Please help with the right code.



  • #2
    I'd email the author, or contact him through Medium or GitHub, if you don't get an answer. If ylabel() is standard, then it requires numbers not names, in the form ylabel(1 "frog" 2 "toad" 3 "dragon")

    Comment


    • #3
      Thanks for your response. I'll try the numbers first

      Comment

      Working...
      X