[R] Truncating y axis

2003-06-28 Thread Shravan Vasishth
Hi folks, I want to have a y-axis using matplot where the y axis is truncated as shown schematically below: (msecs) 3000 | x ~ ~ 800 |x | | x | |||- 123 Position The ~ is supposed

Re: [R] Truncating y axis

2003-06-28 Thread Frank E Harrell Jr
On Sat, 28 Jun 2003 14:03:27 +0200 (MEST) Shravan Vasishth [EMAIL PROTECTED] wrote: Hi folks, I want to have a y-axis using matplot where the y axis is truncated as shown schematically below: (msecs) 3000 | x ~ ~ 800 |x | | x |

Re: [R] Truncating y axis

2003-06-28 Thread Wolfgang Viechtbauer
I want to have a y-axis using matplot where the y axis is truncated as shown schematically below: One (not so elegant) way is this: # original data with one very large y value x - c(1, 2, 3, 4, 5) y - c(1000, 120, 110, 108, 104) plot(x,y) # truncated y-axis plot y - c(140, 120, 110, 108, 104)