Re: [R] Time line plot in R?

2005-01-18 Thread Jim Lemon
Sander Oom wrote: Dear R users, In order to illustrate the possible effects of events on variables plotted against time, I would like plot a time line of events along side the plot of the variables. The x-axis should be some time unit; the y-axis should be the variable of interest; the

Re: [R] Time line plot in R?

2005-01-18 Thread Sander Oom
Jim, Brilliant! Thought someone might have figured it out already. Now we just need a gallery to show off this graph! One little thing: the par(mar=6,6,4,2) gives an error: 'Error in par(args) : parameter mar has the wrong length' Any suggestions? Code below includes fake labels for testing.

Re: [R] Time line plot in R?

2005-01-18 Thread Uwe Ligges
Sander Oom wrote: Jim, Brilliant! Thought someone might have figured it out already. Now we just need a gallery to show off this graph! One little thing: the par(mar=6,6,4,2) gives an error: par(mar=c(6,6,4,2)) Uwe Ligges 'Error in par(args) : parameter mar has the wrong length' Any

Re: [R] Time line plot in R? -- one more problem

2005-01-18 Thread Sander Oom
Jim, Inspired by the question about font embedding, I plotted the time line script to a postscript file. To my disappointment, I can not make the time line appear properly on the postscript graph. It seems that the device does not know I have plotted something new below the original graph!?