[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

From |
"Martin Weiss" <martin.weiss1@gmx.de> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
st: RE: Trouble labeling x-axis and a question about Graphics Editor |

Date |
Mon, 29 Sep 2008 16:39:47 +0200 |

Make sure you are fully -update-d. There is a recorder function in the tools section of the graph editor that lets you replay whatever you did to a specific graph in the past. You can also inspect the files that the recorder leaves behind in a text editor - be sure you know what you are doing, though... HTH Martin -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Polis, Chelsea B. Sent: Monday, September 29, 2008 4:36 PM To: statalist@hsphsun2.harvard.edu Subject: st: Trouble labeling x-axis and a question about Graphics Editor I am having trouble labeling the x-axis of my graph, and can't figure out why. It would be greatly appreciated it someone could help me figure out why I am getting the following error message: My command is as follows: . graph bar pctnonhc pctinj pctpill pctnorp, over(round) stack title("Use of any contraception in HIV+ women, by round") legend(cols(4) label(1 "Non-hormonal") label(2 "Injectables") label(3 "Pills") label(4 "Norplant")) ytitle("Percent using method") xtitle("Round") xtitle(Round") not allowed, " invalid name r(198); Also, I have a question regarding the Graphics Editor in Stata10. After making changes in the Graphics Editor, is there any way to get Stata to tell you the written code that could have been used to obtain the same results? It might be helpful in learning tricks on code writing for graphics. Cheers, Chelsea * * 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/

**References**:**st: Trouble labeling x-axis and a question about Graphics Editor***From:*"Polis, Chelsea B." <cpolis@jhsph.edu>

- Prev by Date:
**st: RE: Trouble labeling x-axis and a question about Graphics Editor** - Next by Date:
**Re: st: Trouble labeling x-axis and a question about Graphics Editor** - Previous by thread:
**st: RE: Trouble labeling x-axis and a question about Graphics Editor** - Next by thread:
**Re: st: Trouble labeling x-axis and a question about Graphics Editor** - Index(es):

© Copyright 1996–2017 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |