Skip to content
Prev 27552 / 63424 Next

xspline(..., draw=FALSE) fails if there is no open device (PR#10727)

jari.oksanen at oulu.fi wrote:
I think the reason is that 2d splines are aspect ratio dependent.  
There's this loop inside,

    for (i = 0; i < nx; i++) {
        xx[i] = x[i];
        yy[i] = y[i];
        GConvert(&(xx[i]), &(yy[i]), USER, DEVICE, dd);
    }
 
and that will not work without knowing how to convert to device 
coordinates. The default for "border" may get you first, though.  That 
seems to be documented incorrectly, by the way.

    -p