Announcement

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

  • COEFPLOT: How to produce separate notes for two subparagraphs

    Dear all,

    I am trying to either had a single note at the bottom of the graph (as with the Title, first Code) or two separate ones (second Code). In the first case, it does not recognise the function note, while with the second code the function reports always the last note (in this case the second = Y) for each subparagraph.

    Thank you,
    Mattia


    Code:
     coefplot (women, label(partner reason)) (women_1, label(own reason)) , bylabel (Extra-EU)  ///         || (women_intra, label(partner reason)) (women_1_intra, label(own reason)),   bylabel (Intra-EU)  ///         ||,    byopts( title("X"), note ("Y"))
    Code:
     
       coefplot (women, label(partner reason)) (women_1, label(own reason)) , bylabel (Extra-EU) note(X) ///         || (women_intra, label(partner reason)) (women_1_intra, label(own reason)),   bylabel (Intra-EU) note(Y) ///         ||,    byopts( title("trr"))

  • #2
    Hi Mattia,
    The help file for Ben Jann's coefplot (available on SSC) includes reference to the website http://repec.sowi.unibe.ch/stata/coefplot with additional examples and information. Therein you will find the section on the addplot command (also written by Ben and available on SSC): http://repec.sowi.unibe.ch/stata/coe...varia.html#h-3.

    After installing the command and creating your initial graph, you can then issue the following commands to add notes:

    Code:
    addplot 1: , note("Graph 1 info") norescaling
    addplot 2: , note("Graph 2 info") norescaling
    Stata/MP 14.1 (64-bit x86-64)
    Revision 19 May 2016
    Win 8.1

    Comment

    Working...
    X