Re: [R] Plot Stepped Line chart with multiple lines

2011-02-23 Thread Techni X
Hi Ista, David, your answers indeed helped me to solve the problem! So thanks to you and have a good day! Stephan --- On Wed, 2/23/11, David Winsemius dwinsem...@comcast.net wrote: From: David Winsemius dwinsem...@comcast.net Subject: Re: [R] Plot Stepped Line chart with multiple lines

[R] Plot Stepped Line chart with multiple lines

2011-02-22 Thread Techni X
Hi all, I have a question, that might be a „rookie“ question – but I’m trying now for days and cannot get my head around. The general question is: How can I plot a stepped line chart with multiple lines from a subset of a dataframe? An example: d - matrix(rep(0,24), ncol=3, nrow=8) d -

Re: [R] Plot Stepped Line chart with multiple lines

2011-02-22 Thread Ista Zahn
Hi, This is R, so there are bound to be severay ways to do it. This would be my first choice: library(ggplot2) ggplot(d, aes(x=V2, y=V3, color=V1)) + geom_step() Best, Ista On Tue, Feb 22, 2011 at 3:08 PM, Techni X fiboswo...@yahoo.com wrote: Hi all, I have a question, that might be a

Re: [R] Plot Stepped Line chart with multiple lines

2011-02-22 Thread David Winsemius
On Feb 22, 2011, at 7:10 PM, Ista Zahn wrote: Hi, This is R, so there are bound to be severay ways to do it. This would be my first choice: library(ggplot2) ggplot(d, aes(x=V2, y=V3, color=V1)) + geom_step() Best, Ista On Tue, Feb 22, 2011 at 3:08 PM, Techni X fiboswo...@yahoo.com wrote: