From: Remo Sanges <rsanges_at_tigem.it>

Date: Fri 04 Mar 2005 - 03:50:55 EST

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Mar 04 09:32:59 2005

Date: Fri 04 Mar 2005 - 03:50:55 EST

On Mar 3, 2005, at 5:29 PM, Christoph Lehmann wrote:

*> I have the following simple situation:
**>
**> tt <- data.frame(c(0.5, 1, 0.5))
**> names(tt) <- "a"
**> plot(tt$a, type = 'o')
**>
**> gives the following plot ('I' and '.' represent the axis):
**>
**> I
**> I
**> I X
**> I
**> I
**> I X X
**> I...........
**> 1 2 3
**>
**> what do I have to change to get the following:
**>
**>
**> I
**> I
**> I X
**> I
**> I
*

> I X X

*> I.....................
**> 1 2 3
**>
**> i.e. the plot-region should be widened at the left and right side
*

What about:

plot(tt$a, type = 'o',xlim=c(0,4))

**HTH
**
Remo

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Mar 04 09:32:59 2005

*
This archive was generated by hypermail 2.1.8
: Fri 03 Mar 2006 - 03:30:40 EST
*