From | Roger Newson <[email protected]> |
To | [email protected] |
Subject | Re: st: Plotting string variables with sencode |
Date | Thu, 06 Oct 2005 11:33:41 +0100 |
At 11:12 06/10/2005, Joanna Carrington wrote:
Dear Stata list users,If you use the option
I am trying to produce a graph that is essentially a forest plot using a combination of a scatter plot and a twoway rcap plot. I have gone down this route as I have found the metagraph and eclplots are not exactly what I need. I have estimates with very different weights and those that are weighted heavily completely engulf the other lightly weighted estimates when metagraph is used (I have tried changing the scale of the weights in the plot and this doesn't help as the smaller weights disappear). The [w="a weight"] option does not work with the eclplot command.
So using the my scatter and rcap plot I need to plot the alphanumerical id of the estimates on the y axis. I have used sencode to produce a new variable that, if I'm correct in thinking, is numerical but keeps the alphanumerical part as a label. Now when I use this variable in the plots I would like the labels to be displayed (automatically preferably to me specifying each individual label using ylabel(1 "" 2 etc)) rather than the number.
Does anyone know how I can do this please?
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |