Thanks to Kit Baum, there is now a new version of the -regaxis- package
downloadable from SSC. In Stata, type
ssc desc regaxis
to find out more.
The -regaxis- package is a utility for generating linear and logarithmic
axis scales, and is described as below on my website. The new version adds
some sensible defaults for the -cycle()- and -maxticks()- options. For
instance, if the user types
then the scatter plot will have a semi-sensible default axis scale,
including zero, for each of the 2 variables -weight- and -mpg-.
I am currently working on an even better version, which I hope to certify
over the weekend.
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: 14april2004
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.