On Sep 8, 2011, at 6:38 PM, Andra Isan wrote:
Hi All,
I am plotting different lines in my graph and the problem I have is
that if the first plot has smaller y value than the second plot, I
will not be able to see the the top part of the graph. I do the
following:plot(p1, avg="vertical", l
Andrew McCulloch wrote:
> I use R to draw my graphs. I have 100 points on a simple xy-plot. The
> points are distinguished by a third variable which is categorical with 10
> levels. I have been plotting x against y and using gray scales to
> distinguish the level of the categorical variable for ea
Why can't you simply draw a 3 - D plot. The third variable being categorical
can expressed as a bar.
Regards,
Indrajit
From: Andrew McCulloch
To: r-help@r-project.org
Sent: Monday, August 1, 2011 3:14 PM
Subject: [R] Plotting question
Hi,
I use R to draw my
Well stated, Duncan, and I plead guilty, though I did try to weasel
out with caveats.
Perhaps I may plead down to a lesser sentence or probation by saying
that I was offering what I still believe to be appropriate advice for
a general strategy for handling this sort of plotting issue; but that
as
On 11-08-01 11:48 AM, Bert Gunter wrote:
IMHO:
On Mon, Aug 1, 2011 at 7:51 AM, Duncan Murdoch wrote:
On 11-08-01 5:44 AM, Andrew McCulloch wrote:
Hi,
I use R to draw my graphs. I have 100 points on a simple xy-plot. The
points are
distinguished by a third variable which is categorical with
IMHO:
On Mon, Aug 1, 2011 at 7:51 AM, Duncan Murdoch wrote:
> On 11-08-01 5:44 AM, Andrew McCulloch wrote:
>>
>> Hi,
>>
>> I use R to draw my graphs. I have 100 points on a simple xy-plot. The
>> points are
>> distinguished by a third variable which is categorical with 10 levels. I
>> have
>> bee
plot(1:10, pch=letters[1:10])
On Mon, Aug 1, 2011 at 4:44 AM, Andrew McCulloch wrote:
> Hi,
>
> I use R to draw my graphs. I have 100 points on a simple xy-plot. The
> points are
> distinguished by a third variable which is categorical with 10 levels. I
> have
> been plotting x against y and usin
On 11-08-01 5:44 AM, Andrew McCulloch wrote:
Hi,
I use R to draw my graphs. I have 100 points on a simple xy-plot. The points are
distinguished by a third variable which is categorical with 10 levels. I have
been plotting x against y and using gray scales to distinguish the level of the
categori
Your data has commas in the numbers causing them to be read in as factors:
> x <- read.table(textConnection(" ID Cn read_count
+ 1 MJ-2000-79 10,000 6876
+ 2 MJ-2000-80 10,000 23440
+ 3 MJ-2000-87 10,000 18787
+ 4 MJ-2000-100 8000 4775
+ 5 MJ-2000-81
K F Pearce wrote:
Hello everyone,
(This is my second question posted today on the R list).
and you have still not read the posting guide?
It asks you to "provide commented, minimal, self-contained, reproducible
code" which also means that you need to tell which packages you are using.
I
Use reshape in the base of R or melt/cast in the reshape package.
Using the former:
Lines <- "ID Year V1
1 19801
1 19812
1 19826
1 19834
2 19805
2 19815
2 19825
2 19836"
# DF <- read.table("myfile.dat", header = TRUE)
DF <- read.table(textConnect
On Mar 14, 2009, at 5:46 PM, David Winsemius wrote:
On Mar 14, 2009, at 5:14 PM, David Kaplan wrote:
Greetings all,
I have two questions. I have a data set that is arranged in the
example below. I wish to obtain a plot of the performance of each
ID over Year on v1. It's not clear how
On Mar 14, 2009, at 5:14 PM, David Kaplan wrote:
Greetings all,
I have two questions. I have a data set that is arranged in the
example below. I wish to obtain a plot of the performance of each
ID over Year on v1. It's not clear how I set this up?
ID Year V1 1 19801 1 1981
check out the interaction.plot. This *may* be what you are looking
for.
?interaction.plot
On Mar 15, 8:14 am, David Kaplan wrote:
> Greetings all,
>
> I have two questions. I have a data set that is arranged in the example
> below. I wish to obtain a plot of the performance of each ID over Ye
Lauri Nikkinen wrote:
> R users,
>
> I have a problem with function strwidth in 2.7.1. I'm trying to set
> the plot margins in a way that horizontal
> column labels will fit to the graph. tmp.t is a list of data.frame
> objects. This code works well in 2.6.0.
>
>
I don't think this has to do wit
Sorry, I found that there is a new bmp() device and when I lower the
resolution parameter e.g. to 72, everything works fine.
Best
Lauri
2008/6/30, Lauri Nikkinen <[EMAIL PROTECTED]>:
> R users,
>
> I have a problem with function strwidth in 2.7.1. I'm trying to set
> the plot margins in a way tha
Try
par(mar=c(3,4,2,2), mfrow=c(5,2))
On 10/12/07, Leeds, Mark (IED) <[EMAIL PROTECTED]> wrote:
> I am constructing plots ( regular not lattice ) and my initial command
> is
>
> par(mar=c(3,4,2,2), mfcol=c(5,2))
>
> and then I create 10 plots on the page. It looks great but the plots on
> the pa
Have you looked at layout() ?
Hadley
On 10/12/07, Leeds, Mark (IED) <[EMAIL PROTECTED]> wrote:
> I am constructing plots ( regular not lattice ) and my initial command
> is
>
> par(mar=c(3,4,2,2), mfcol=c(5,2))
>
> and then I create 10 plots on the page. It looks great but the plots on
> the page
18 matches
Mail list logo