lattice panel fine control
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 other miscellaneous parameters. ?par then tells you that srt gives the string rotation in degrees, the answer to your question. So, yes, it's a bit rough going; but careful attention to the docs DOES get you there. -- Bert
On Thu, Jun 2, 2011 at 7:12 AM, maxbre <mbressan at arpa.veneto.it> wrote:
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 degrees (and I did not find mention of anything like "angle" or "rot" to accomplish this task) panel.text(x, y, lab = mydata$name, cex = 0.6, pos=3, offset=0.5, "....here something to rotate labels") 3- I was referring to the error bar of each point (standard error of points); I think this could be accomplished by "arrows" but the following line is giving me an error panel.arrows(x=tv.avg-tv.erst, y=ped.avg-ped.erst, x1=tv.avg+tv.erst, y1=ped.avg+ped.erst, angle=90, code=3) thanks again for your great help in bootstrapping me to the lattice features maxbre -- View this message in context: http://r.789695.n4.nabble.com/lattice-panel-fine-control-tp3566347p3568424.html Sent from the R help mailing list archive at Nabble.com.
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
"Men by nature long to get on to the ultimate truths, and will often be impatient with elementary studies or fight shy of them. If it were possible to reach the ultimate truths without the elementary studies usually prefixed to them, these would not be preparatory studies but superfluous diversions." -- Maimonides (1135-1204) Bert Gunter Genentech Nonclinical Biostatistics