Hello, Adel,

maybe the argument sep of interaction() helps you. Try

interaction( g[,1], g[,2], sep = "/")

 Regards -- Gerrit


I am using this command to draw the figure attached to this mail.

xyplot(g[,4]~g[,3],type="b",group=interaction(g[,1],g[,2]),  auto.key
=list( title="Evolution de la stabilité" , points = FALSE,  columns=2,
lines = TRUE,space="right") ,data=g,xlab=expression(beta),ylab="stabilité")

I want to change name of the legend that were attributed automaticalle (for
example from C.D to C/D)?

Can you help me to solve this?



Regards

--
PhD candidate in Computer Science
Address
3 avenue lamine, cité ezzahra, Sousse 4000
Tunisia
tel: +216 97 246 706 (+33640302046 jusqu'au 15/6)
fax: +216 71 391 166
______________________________________________
R-help@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.

Reply via email to