Statalist


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

st: AW: graph combine question


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: AW: graph combine question
Date   Wed, 1 Jul 2009 18:02:16 +0200

<> 

I could see how the rowlabel might come into existence while maintaining the
vertical y-axis label...

*************
webuse lbw2, clear
       logistic low age lwt race2/*
        */  race3 smoke ptl
        
       lroc, name(gr1, replace)/* 
 				*/ 	 title(right-wing)/* 
				*/ text( 0.9 -0.25 "Europe",/* 
 				*/  place(e)) /* 
 				*/ xtitle(, margin(small)) /* 
 				*/ graphregion(margin(vlarge))
*************



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von moleps islon
Gesendet: Mittwoch, 1. Juli 2009 17:36
An: statalist@hsphsun2.harvard.edu
Betreff: st: graph combine question

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/


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index