Hello users,
I've noticed a problem when creating a stacked column plot when a column
contains a negative and a positive value. e.g.
series1<-c(-1,-2, 3, 4, 5)
series2<-c( 5, -4,-3,-2, 1)
data<-rbind(series1,series2)
barplot(as.matrix(data), beside=FALSE)
In these cases (i.e. first, third a
Hello all
Please ignore this last post as I now realize it is because the stacked
components are summed, as they should be. I needed the columns to be
stacked but not summed so just plotted the two series separately with add=T
Sorry...
Murray Richardson
Original Message
On 03/05/2008 3:29 PM, Murray Richardson wrote:
Hello users,
I've noticed a problem when creating a stacked column plot when a column
contains a negative and a positive value. e.g.
series1<-c(-1,-2, 3, 4, 5)
series2<-c( 5, -4,-3,-2, 1)
data<-rbind(series1,series2)
barplot(as.matrix(data), be
3 matches
Mail list logo