[R] coplot row separatot line

Paul Murrell p.murrell at auckland.ac.nz
Sun Nov 23 21:41:26 CET 2003


Hi

I think the only way you can do this is by modifying the coplot code.
See the part that starts ...

     if (show.given[1]) {

Paul


Pascal.Niklaus at unibas.ch wrote:
> Hi all,
> 
> I could not find a way to add the dashed horizontal separator line to the top
> panel of a coplot (the one indicating which panel belongs to which range of the
> given variable a in  y~x | a).
> 
> This line should separate the ranges plotted in a row of panels in the panel
> matrix below (hmmm, hope this is reasonably clear). I like it because it
> enhances readability.
> 
> I'll try a sketch:
> 
> 
>>coplot(y~x | a)
> 
> 
>            given: a
> +------------------------------+
> |                         6666 | 
> |                    55555     |
> |                4444          |
> + - - - - - - - - - - - - - - -+   <== this line
> |             333              |
> |       22222                  |
> | 11111                        |
> +------------------------------+
> 
> +--------+ +--------+ +--------+ 
> |  4     | |  5     | |   6    |
> |        | |        | |        |
> +--------+ +--------+ +--------+ 
> 
> +--------+ +--------+ +--------+
> |  1     | |   2    | |   3    |
> |        | |        | |        | 
> +--------+ +--------+ +--------+ 
> 
> I've seen this line in some coplots, but am not sure whether this was S-Plus or R.
> 
> Thanks for any hint
> 
> Pascal
> 
> 
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help


-- 
Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
Auckland
New Zealand
64 9 3737599 x85392
paul at stat.auckland.ac.nz
http://www.stat.auckland.ac.nz/~paul/




More information about the R-help mailing list