[R-SIG-Mac] Problem viewing silhouette plot in Adobe Acrobat

Simon Urbanek simon.urbanek at r-project.org
Thu Jul 23 22:18:21 CEST 2009


On Jul 23, 2009, at 15:57 , Retzer Joe wrote:

> I'm having a problem viewing a silhouette plot created as a pdf file  
> in Adobe Acrobat.  The code below produces a silhouette plot which,  
> when saved as a pdf file, has bars that are not visible in Adobe  
> Acrobat. A similar problem was noted earlier in the archives (from  
> which I took this code) but for a png file. The archive emails  
> suggested it may have been a resolution problem however did not have  
> a simple workaround, which I assume may exist.
>

See R for Mac FAQ 12.10.

Cheers,
Simon


> Note also that the bars of the silhouette plot below are viewable in  
> the MAC "preview" app.
>
>     library(cluster)
>     nmat <- matrix(rnorm(2500*300), ncol=300, nrow=2500)
>     rmat <- matrix(rchisq(1000, 300, 50), ncol=300, nrow=1000)
>     mat <- rbind(nmat, rmat)
>     pr <- pam(mat, 2)
>     plot(silhouette(pr))
>
> Any help would be appreciated,
>
> Many thanks,
> Joe Retzer
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>



More information about the R-SIG-Mac mailing list