Dear all,

        I am having a problem using grid when rotating a viewport. It seems  
to plot everything on a grey background colour which I am not able to  
get rid of. Even book examples such as that that plot figure 5.10 in  
P. Murrell's R Graphics book show the same behaviour.
        The following example illustrates this issue. I would appreciate if  
anyone has a way to solve this.
        Best regards,

        r.

pushViewport(viewport(width=0.9,height=0.9,name="vp1"))
grid.rect()
pushViewport(viewport(width=0.3,height=0.9,angle=0,name="vp2"))
grid.rect()
upViewport()
pushViewport(viewport(width=0.3,height=0.9,angle=10,name="vp3"))
grid.rect()


Dr. Rafael Najmanovich
European Bioinformatics Institute
Wellcome Trust Genome Campus
Cambridge CB10 1SD
United Kingdom

[EMAIL PROTECTED] - www.ebi.ac.uk/~rafi
+44-1223-492599 (voice) +44-7786-968257(mobile) +44-1223-494468 (fax)

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to