[R] Broken x-axis

Jim Lemon bitwrit at ozemail.com.au
Thu Feb 2 23:28:08 CET 2006


brettginsburg at sbcglobal.net wrote:
> Does anyone have experience creating a plot with a broken x-axis?
>  
> Specifically, as a pharmacologist, I typically need to present graphs
> with 2 segments, one for vehicle and one for active doses..
>  
>   |
>   | 
>   |
>     |----|   |------------------------------------------|
>      V       1    3    10    30   100  etc.
>                          Dose
>  
> Any help would be most appreciated!

Hi Brett,

Have a look at the function gap.plot in the plotrix package.

Jim




More information about the R-help mailing list