Hi All,

I found this issue when using asCairoDevice to transforming splom scatter plot to my RGtk2 GUI:

If I put the code in R GUI or using CairoPNG or Cairo_pdf() to draw the scatter plot, I can get it correctly:

The codes are: (you can copy and paste to your R GUI)

super.sym <- trellis.par.get("superpose.symbol")
plot.call<-splom(~iris[1:4], groups = Species, data = iris,
      panel = panel.superpose,
      key = list(title = "Three Varieties of Iris",
                 columns = 3,
                 points = list(pch = super.sym$pch[1:3],
                 col = super.sym$col[1:3]),
                 text = list(c("Setosa", "Versicolor", "Virginica"))))

plot.call

However if I want to draw the same plot in the drawing area by asCairoDevice I lost all the colorful dots in the upper left and lower right, having only the diagonal charts:

The codes are: (you can copy and paste to your R GUI)

win<- gtkWindowNew(show= FALSE)
DA<- gtkDrawingArea()
asCairoDevice(DA)
win$add(DA)
win$show()
plot.call

Did I miss anything here? Thanks a lot!!!

Regards,
Yan




	[[alternative HTML version deleted]]


