[R] Lattice graphs: lines, symbols and strips

Marta Rufino mrufino at cmima.csic.es
Tue Jul 8 12:22:46 CEST 2003

Dear collegue,

I have some questions about lattice graphs:

1. How can I introduce different lines in different graphs, from the same
page? For example, in the upper row of graphs, I would like to have a line
at 0.5, in the middle one at 0.3, and in the lower at 0.1. I am using
panel.abline, but I can only make it appear in all the graphs, not in some
of tham only...

2. Is it possible that the "strips" only appear in the top of the graphics,
once per column? and once per row? This would be very nice, because it
could save lots of graph space...

3. How can I make that the symbol within the graph varies with two
variables, for example when it is good I want to put a open circle and when
it is bad a closed circle or for example, that each point gets the number
of samples..., but this changes throughtout the graphs...

4. I have two series of points, and would like tham to be separated, not
overlaped. I tried jitter, but it did not worked (I am using xyplot).

Could you please help me?
Thank you very much in advance,



Marta Rufino

Institut de Ciencies del Mar
Centre Mediterrani d'Investigacions Marines i Ambientals (CSIC)
Passeig Maritim 37-49
08003  Barcelona
Catalunya, Spain

Tfno:00 34 93 230 95 40
Tfax:00 34 93 230 95 55


More information about the R-help mailing list