[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: dot plot of each point

From   "Nick Cox" <>
To   <>
Subject   RE: st: dot plot of each point
Date   Mon, 17 Nov 2008 18:03:35 -0000

Yes. You do need to study the help carefully. The y axis is the response
axis, here horizontal. Your problematic labels are on the other axis,
called categorical by Stata. 

Here is an analogue of your problem with the auto data: 

sysuse auto, clear 
graph dot (asis) mpg in 1/50, over(make, label(labsize(*0.45)))


Brent Fulton

Thanks, Friedrich, I didn't see the -over- option originally. This
but the state abbreviation labels on the y-axis are too large. I've
ylabel and mlabel but both give errors (see below). Do you have any
recommendations here?

graph dot men women children, over(state) ylabel(labsize(vsmall))
error: invalid label specifier, :  labsize(vsmall):

graph dot men women children, over(state) mlabel(labsize(vsmall))
error: option mlabel() not allowed

Friedrich Huebler

See -help graph dot-.

On Mon, Nov 17, 2008 at 11:13 AM, Brent Fulton <>

> I would like to plot 4 points for each of the 50 states, where a state
> be labeled with its two-letter abbreviation. I would like to orient
> graph so the states are on the vertical axis and the points are
plotted on
> the horizontal axis. (I prefer to just plot points, not bars, because
> graph gets too busy.)
> I would appreciate your advice on how to do this.

*   For searches and help try:

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