Re: [R] Change the Chinese/English fonts in the Lattice graphic package

2013-03-13 Thread Prof Brian Ripley
This is little to do with lattice (and 'font=2' is for base graphics: lattice is based on grid). You may well not have bold or italic Chinese fonts. Font families are set for the device. You have not followed the posting guide: it asked for 'at a minimum' information about your setup. So

[R] Change the Chinese/English fonts in the Lattice graphic package

2013-03-12 Thread jpm miao
Hi, I am graphing with the following command in the Lattice and LatticeExtra package xyplot(xts,lty=c(1,2),col=c(blue,red),type=c(l,g),par.settings = list(layout.heights = list(panel = c(2, 2))), aspect=xy,xlab=,ylab=%, key=key1,screen=list(a,a,b,b,c,c,d,d), layout=c(2,2),