Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: New version of -regaxis- on SSC


From   Roger Newson <[email protected]>
To   [email protected]
Subject   st: New version of -regaxis- on SSC
Date   Wed, 21 Apr 2004 21:22:15 +0100

Hello All

Thanks to Kit Baum, there is now a new version of the -regaxis- package available for download from SSC. In Stata, type

ssc desc regaxis

to find out more. See also the description below from my website.

The new version fixes a bug, which caused the rarely-used -marginfactors()- option of -logaxis- not always to work as described. It also adds a new option -singleok-, which allows the output axis tick list to be a single tick if the entire data range is equal to a single tick value. (In default, if the data range is equal to a single tick value, then -regaxis- and -logaxis- add a single tick position above and a single tick position below.) I had the idea for -singleok- during a marathon session creating plots of confidence intervals for odds ratios on a binary log scale, for which -logaxis- and -regaxis- can both be helpful programming tools.

Best wishes

Roger

-----------------------------------------------------------------------------------
package regaxis from http://www.kcl-phs.org.uk/rogernewson/stata8
-----------------------------------------------------------------------------------

TITLE
regaxis: Regular linear and logarithmic axis scales, ranges and tick lists

DESCRIPTION/AUTHOR(S)
The regaxis package contains 2 programs, named regaxis and logaxis.
regaxis generates a regular linear axis range and tick list for a list of
variables and/or numbers to be included in the axis range. logaxis generates
a regular logarithmic axis range and tick list for a list of variables and/or
numbers to be included in the axis range. Both programs can output the
elements of the axis range and/or tick list to be stored in local and/or
global macros, which can then be used in Stata graphics commands as axis
options and suboptions, such as the the range() suboption of the xscale() and
yscale() options, or the xlabel() ylabel(), xtick() and ytick() options.

Author: Roger Newson
Distribution-Date: 21april2004
Stata-Version: 8

INSTALLATION FILES (click here to install)
regaxis.ado
regaxis.hlp
logaxis.ado
logaxis.hlp
-----------------------------------------------------------------------------------
(click here to return to the previous screen)

--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605
Email: [email protected]
Website: http://www.kcl-phs.org.uk/rogernewson

Opinions expressed are those of the author, not the institution.

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* 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