Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: graph combine question


From   moleps islon <[email protected]>
To   [email protected]
Subject   st: graph combine question
Date   Wed, 1 Jul 2009 17:36:08 +0200

with your example,
I'd like to label row 1 containing gr1 and gr2 with
-"europe"-(horizontally), row 2 containing gr 3 and
gr4-"USA"(horizontally) and finally row 3 containing gr 5 and 6
"Australia"(horizontally)-preferably while the y-axis title is
vertical reading "sensitivity" only in column1 (for gr 1,3 and 5). At
the same time column1 containing gr1,3 and 5 should be labeled
"right-wing" and column2 containing gr 2,4 and 6 be labeled
"left-wing"...The x-axis title is "1-specificity" and only for gr5 and
6 (row3)

regards,
 M



Maybe you want to explain a little more along the lines of this example?


*************
webuse lbw2, clear

qui{
       logistic low age lwt race2/*
        */  race3 smoke ptl
       lroc, name(gr1, replace) nodraw

       logistic low age lwt race2/*
        */  race3 smoke ptl ht ui
       lroc, name(gr2, replace) nodraw

       logistic low age  /*
        */  race3 smoke ptl  ui
       lroc, name(gr3, replace) nodraw

       logistic low  lwt race2/*
        */  race3  ptl ht ui
       lroc, name(gr4, replace) nodraw

       logistic low age  /*
        */  race3 smoke ptl ht ui
       lroc, name(gr5, replace) nodraw

       logistic low age  race2/*
        */  race3 smoke ptl ht
       lroc, name(gr6, replace) nodraw
}


graph combine gr1 gr2 /*
 */ gr3 gr4 gr5 gr6, cols(2)
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index