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

st: axis layout boxplots


From   jonah hansen <[email protected]>
To   [email protected]
Subject   st: axis layout boxplots
Date   Wed, 27 Apr 2005 00:50:36 +0200

Dear Stata-listers,

I'm using Stata 8 SE and have made several boxplots. Next, I would 
like to change the thickness of the lines of the graphs (for larger prints).

I was able to change the thickness of the lines in the boxplot itself, as well 
as the line thickness of the y axis. Strangely enough, I can't seem to get 
the same result for the x-axis where the labels are placed. 

As an example, the command line for the variation in earnings between
sectors is:

graph box earnings, medtype(cline) medline(lcolor(black) lwidth(thick)) over
(sector, label(labsize(large))) horizontal ytitle(, size(large))
scheme(sj) ylabel(0 .5
1, nogrid) yscale(range(0 1) lw(thick)) box(1,blw(thick))

The two latter commands change the thickness of the y-axis and the box itself.
For the x-axis I've tried (among others) adding xscale. I then get the error 
message 

"xscale(lw(thick)) not allowed, xaxis1 does not exist"

And in the help files of "help graph_box" it says:

"Ignore the x*() options; they are irrelevant in the case of box plots."

Does anybody know if this means the line thickness of the xscale
cannot be changed?
Perhaps there is a simple solution, but I wasn't able to find it in the FAQ, the
archives, nor the help files.

Any advice is greatly appreciated,

With kind regards
Jonah Hansen

*
*   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