[R-SIG-Mac] pb with the quartz graphics in Mac OS 10.6.8

peter dalgaard pdalgd at gmail.com
Tue Nov 27 14:45:20 CET 2012


On Nov 27, 2012, at 11:06 , Jean-Paul Marcel Vallée wrote:

> Dear R users,
> 
> When I draw a circle with R on my Mac, the line is not smooth at 0 and 180 degree even when I am using a high number of point. Is there a way to improve this rendering in the quartz window?
> 
> Thank's
> 
> JPV
> 
> 
> 
> f2 <- function(x){
> (1-x^2)^.5
> }
> 
> x1min=-100000;
> x1max=100000;
> sf=100000;
> 
> plot(f2, (x1min:x1max)/sf, col="blue", ylim=range(-1,1))

Read the help page for plot.function (again?) and notice that its second argument does not do what I think you think it does. Increasing the value of n= might be more fruitful.

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-SIG-Mac mailing list