[R] Opinion on R plots: connecting X and Y

Clint Bowman clint at ecy.wa.gov
Fri Apr 20 23:19:38 CEST 2007


Okay, Brant.  It's Friday and I'm opinionated.  Since the plotted data
extend to lower values on both axes that 'n' draws them, I like 'l'
better.

Clint

Clint Bowman			INTERNET:	clint at ecy.wa.gov
Air Dispersion Modeler		INTERNET:	clint at math.utah.edu
Air Quality Program		VOICE:		(360) 407-6815
Department of Ecology		FAX:		(360) 407-7534

	USPS:  		PO Box 47600, Olympia, WA 98504-7600
	Parcels:	300 Desmond Drive, Lacey, WA 98503-1274

On Fri, 20 Apr 2007, Inman, Brant A.   M.D. wrote:

>
> Attention R users, especially those that are experienced enough to be
> opinionated, I need your input.
>
> Consider the following simple plot:
>
> x <- rnorm(100)
> y <- rnorm(100)
> plot(x, y, bty='n')
>
> A colleague (and dreaded SAS user) commented that she thought that my
> plots could be "cleaned up" by connecting the X and Y axes.  I know that
> I can do that with bty='l' but I don't want to, I find that the plots
> look less cluttered with disjoint axes.
>
> However, I was intrigued enough by her comments that I decided to
> solicit the opinions of others on this issue.  Are there principled
> reasons why one should prefer joined axes or disjoint axes?
>
> Brant Inman
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list