Skip to content
Prev 78059 / 398502 Next

Problem with memory footprint of qq plot generated with lattice

Dave,

qqmath(~val|ind,data=xx
        ,distribution=function(p) qt(p,df=19)
        ,ylab="Sample Quatinles"
        ,xlab="Theoretical Quantiles"
        ,aspect=1
        ,prepanel = prepanel.qqmathline
        ,panel=function(x,y)
        {
          panel.qqmathline(y, distribution=function(p) qt(p,df=19),col=2)
          panel.qqmath(x, y , distribution=function(p)
qt(p,df=19),pch=".",cex=2)
        }
)

Adding f.value=fn as argument to qqmath reduces the size of the image, 
but neither the axis (absicissae) nor the line added by panel.qqmathline 
are right.

Adding f.value=fn as argument to panel.qqmathline and panel.qqmath 
generates the right graphic, but the size of the image is again 20 MB.

Any Suggestions?

Eryk
dhinds at sonic.net wrote: