[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: Scatter plot: Getting read of the x title and the numbers behind
I am new to STATA and to STATALIST.
>>> Welcome to Stata and to Statalist. Please don't send MIME/HTML to
the list, as explained in the FAQ (URL below).
I am trying to make a few graphs
twoway (scatter cd4_cells mdcd4 lci_cd4 uci_cd4 group1, legend(off) msymbol(o d dh dh) mcolor (gray black black black) msize(small)),
ytitle(CD4 cells %) ylabel(0 20:100) xtitle () xlabel(# 5 1 "HIV- HCV-" 2 "HIV+ HCV cleared" 3 "HIV+ HCV chronic" 4 "HIV- HCV cleared" 5 "HIV- HCV chronic", labsize(small))
Gives me a plot with a title under the x axis (group1) that I don't want,
>>> Blank it out with -xtitle("")-
and the numbers 1-5 hidden behind the x label.
Would like to know how to get read of the label and the 1-5.
>>> To get rid of the 1-5, delete "#5".
Also- I would like to know how to split the labels so instead of having
HIV+ HCV cleared in one line I have
in 3 lines.
xla(1 `""HIV-" "HCV-""' 2 `""HIV+" "HCV" "cleared"" etc.
That is e.g.
`" left single quote/double quote
"HIV-" first line in ""
"HCV-" second line in ""
"' double quote/right single quote
The `" "' are called compound double quotes.
* For searches and help try: