[R] MacOS X Quartz Rendering?

Neil Gunther njgunther at perfdynamics.com
Fri Mar 24 20:01:11 CET 2006


I just tried rendering a plot of 166 data point (time series) on my PPC mac,
and compared it with the same data rendered by Mathematica. The R plotting is 
very slow to paint and repaint, compared to Mathematica. This also makes it 
extremely awkward to use in other documentation such as pdfLatex.

On closer inspection, it looks like the Mathematica plot is just a polyline, 
while in R it is a B-spline with each marker consisting of 24 B-splines knotted 
together. Moreover, the spline joints are rounded, which requires computing two 
circles and intersecting them 26 times at each bend.

Is there some reason why the point-markers are not just drawn as circles or 
squares, instead of doing these complicated and time-consuming knots?

-- njg
________________________________________________________________________

PERFORMANCE DYNAMICS COMPANY               http://www.perfdynamics.com/




More information about the R-help mailing list