On 04/04/2011 11:39 PM, Andrew D. Steen wrote:
I am trying to make a barplot with a broken axis using gap.barplot (in the
indispensable plotrix package).
Aww, gee, you've won me.
This works well when the data is a vector:
twogrp-c(rnorm(10)+4,rnorm(10)+20)
Jim,
That works great. Thanks much for the quick help.
Cheers,
Drew
-Original Message-
From: Jim Lemon [mailto:j...@bitwrit.com.au]
Sent: Tuesday, April 05, 2011 2:12 PM
To: Andrew D. Steen
Cc: r-help@r-project.org
Subject: Re: [R] gap.barplot doesn't support data arrays?
On 04
I am trying to make a barplot with a broken axis using gap.barplot (in the
indispensable plotrix package). This works well when the data is a vector:
twogrp-c(rnorm(10)+4,rnorm(10)+20)
gap.barplot(twogrp,gap=c(8,16),xlab=Index,ytics=c(3,6,17,20),ylab=Group
values,main=Barplot with gap)
But
On 2011-04-04 06:39, Andrew D. Steen wrote:
I am trying to make a barplot with a broken axis using gap.barplot (in the
indispensable plotrix package). This works well when the data is a vector:
twogrp-c(rnorm(10)+4,rnorm(10)+20)
spend enough time with the axis.break()
function. But is there an easier way?
--Drew
-Original Message-
From: Peter Ehlers [mailto:ehl...@ucalgary.ca]
Sent: Monday, April 04, 2011 4:33 PM
To: Andrew D. Steen
Cc: r-help@r-project.org
Subject: Re: [R] gap.barplot doesn't support data
5 matches
Mail list logo