Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: RE: x axis forest plot


From   Vincent de Jonge <[email protected]>
To   [email protected]
Subject   Re: st: RE: x axis forest plot
Date   Thu, 07 Oct 2010 15:58:23 +0200

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 [email protected]
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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index