Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: RE: x axis forest plot


From   Svendsgaard.David@epamail.epa.gov
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: x axis forest plot
Date   Thu, 7 Oct 2010 11:29:38 -0400

I think you need force()


David J Svendsgaard, PhD
Biostatistician
EPA/ORD/NCEA/RTP, Mail Drop B-243-01
Research Triangle Park, NC 27711
Phone (919) 541-4186
Fax (919) 541-1818


                                                                                                        
  From:       Vincent de Jonge <v.dejonge@erasmusmc.nl>                                                 
                                                                                                        
  To:         statalist@hsphsun2.harvard.edu                                                            
                                                                                                        
  Date:       10/07/2010 10:00 AM                                                                       
                                                                                                        
  Subject:    Re: st: RE: x axis forest plot                                                            
                                                                                                        
  Sent by:    owner-statalist@hsphsun2.harvard.edu                                                      
                                                                                                        





one of the commands I used was:

metan a b c d, label(namevar=Author) by(HQ) random rr xlabel(0,1,5)
force

with this error:
invalid label specifier, :  0 "1" . "0" 0 "1" 1.6094379124341 "5":

or
metan a b c d, label(namevar=Author) by(HQ) random rr xlabel(0,1,5)
invalid label specifier, :  0 "1" . "0" 0 "1" 1.6094379124341 "5":

is that of any help?

on 07-10-2010 14:48 Nick Cox said the following:
> -metan- is a user-written command (SSC).
>
> It usually helps and never hurts if you show exact code that you
tried.
>
> In general with a graphics command you can not omit data points from a
graph by truncating the axis scale. You must omit data explicitly e.g.
by using -if-.
>
> -xaxis()- and -xlabel()- are options, not commands.
>
> Nick
> n.j.cox@durham.ac.uk
>
> Vincent de Jonge
>
> I did a meta-analysis on count data using the db
> metan command and plotted a forest plot. However, to improve
readability
> I would like to limit the x axis. This just won't work. I don't know
how
> to do it. Tried commands like xaxis, xlabel, etc. but always get an
> error. Hope someone can get me the answer.
>
>
> *
> *   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/


*
*   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   |   Site index