Re: [R] lattice panel fine control

2011-06-03 Thread Peter Ehlers
On 2011-06-02 23:53, maxbre wrote: there is another big problem I did not realised earlier; the labelling of point is not correct: the labels appears to be recycled the same for all panels, why? and this time I'm quite sure I've been reading the hlp file (as much as I understand) thanks I suspe

Re: [R] lattice panel fine control

2011-06-03 Thread maxbre
there is another big problem I did not realised earlier; the labelling of point is not correct: the labels appears to be recycled the same for all panels, why? and this time I'm quite sure I've been reading the hlp file (as much as I understand) thanks -- View this message in context: http://r.7

Re: [R] lattice panel fine control

2011-06-02 Thread Bert Gunter
You're still not reading the Help carefully/thoroughly. Check the entry under the "relation" subargument for the "scales" argument of xyplot. You need relation = "same", which is the default and so can be omitted. -- Bert On Thu, Jun 2, 2011 at 2:02 PM, maxbre wrote: > ok thanks again for your

Re: [R] lattice panel fine control

2011-06-02 Thread maxbre
ok thanks again for your reply: this is what I worked out so far #start code xyplot(ped.avg ~ tv.avg | family, data=mydata, strip=strip.custom(bg='white'), col.line=1, main="title", xlab = expression(paste('tv [ fg/', m^3, ' ]', sep = '')),

Re: [R] lattice panel fine control

2011-06-02 Thread Bert Gunter
You did not read the help files carefully enough. The Help for panel.text tells you that it is the same function as ltext. ltext lists a bunch of parameters, srt among them, and refers you to the corresponding base R graphics function, which is text(). ?text then refers you to par for this and ot

Re: [R] lattice panel fine control

2011-06-02 Thread maxbre
thank you so much for the very detailed indications which turned out to be a real help in ponting me to the right direction; referring back to my previous questions there is something still open: 2- I'm in trouble with the point labels because I would like to rotate them by an angle of 90 degree

Re: [R] lattice panel fine control

2011-06-01 Thread Dennis Murphy
Hi: See inline. On Wed, Jun 1, 2011 at 10:00 AM, maxbre wrote: > Hello R experts, > > what follows is my reproducible example: > > mydata<-structure(list(ped.avg = c(335.9, 110.8, 645.7, 638.9, 1468.1, > 126.4, 4811.1, 88.5, 868.5, 656.6, 723.6, 654, 2.8, 15, 14.2, > 17.5, 15.4, 112.1, 424.7, 18

Re: [R] lattice panel fine control

2011-06-01 Thread Bert Gunter
It is perhaps not entirely clear from ?update, but update replaces your original lattice call with your new call and re-drawsthe plot. This means that the panel function used for the update() plot is the one in update(), which only draws the line. That's why you see no points. Obviously, then, you

[R] lattice panel fine control

2011-06-01 Thread maxbre
Hello R experts, what follows is my reproducible example: mydata<-structure(list(ped.avg = c(335.9, 110.8, 645.7, 638.9, 1468.1, 126.4, 4811.1, 88.5, 868.5, 656.6, 723.6, 654, 2.8, 15, 14.2, 17.5, 15.4, 112.1, 424.7, 18.3, 19.9, 28.6, 25.6, 23.5, 15.4, 27, 62.1, 15.6, 74.6), ped.erst = c(96, 5