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

Re: st: turning off horizontal gridlines on twoway scatter graph


From   Neil Shephard <[email protected]>
To   [email protected]
Subject   Re: st: turning off horizontal gridlines on twoway scatter graph
Date   Tue, 3 Jan 2006 14:18:54 +0000

On 1/3/06, b. water <[email protected]> wrote:
> dear statalister,
>
> stata 8.2 window xp pro
>
> issued a graph command as follows:
>
> gr twoway scatter v1 v2 v3, ysize(6) xsize(6) xlab(0(0.1)1) ylab(0(0.1)1).
>
> i obtained a graph with faint horizontal lines emanating from y-axis from
> each tick mark on the said axis. is there a way to 'turn-off' this
> horizontal gridlines?
>

Try...

gr twoway scatter v1 v2 v3, ysize(6) xsize(6) xlab(0(0.1)1)
ylab(0(0.1)1, nogrid).

The key to this being to specify the -[no]grid- option, within the
y-axis label options.

See -man axis_label_options- for more details

HTH's

Neil
--
Email - [email protected]
Website - http://slack.ser.man.ac.uk/
Blog - http://slack---line.blogspot.com/
Flickr - http://www.flickr.com/photos/slackline/

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