Tuesday, January 03, 2006

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

On 1/3/06, b. water <barleywater@hotmail.com> 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 - nshephard@gmail.com 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/


Tag:


Links to this post:

Create a Link



<< Home

This page is powered by Blogger. Isn't yours?