Displaying 1 result from an estimated 1 matches for "75262720".
Did you mean:
70762720
2009 Mar 24
1
Barplot With Selected X-Axis Region
Dear all,
I have a data that looks like this:
> print(dat)
V1 V2
1 -43342073 14
2 -43337730 4
3 -43284676 1
....
11372 75188572 11
11373 75206165 6
11374 75262720 24
What I want to do is to have a barplot where x-axis
is taken from V1 and y-axis taken from V2.
But I only want to plot the those region where V1 >= -500
and <= 500.
But some how this snippet doesn't seem to work:
> xlim = c(-500,500)
> barplot(as.matrix(dat[dat$V1 >= -5...