Skip to content
Back to formatted view

Raw Message

Message-ID: <4B6ECC2B-BA42-4A02-B17D-630C469028C4@r-project.org>
Date: 2009-07-23T20:18:21Z
From: Simon Urbanek
Subject: Problem viewing silhouette plot in Adobe Acrobat
In-Reply-To: <BA9312A5-FA37-4B37-BBAC-EA279F906E2C@gmail.com>

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
>
>