[R] Exporting an rgl graph

David Winsemius dwinsemius at comcast.net
Thu Apr 15 20:19:18 CEST 2010


On Apr 15, 2010, at 1:52 PM, Gavin Simpson wrote:

> On Thu, 2010-04-15 at 13:00 -0400, David Winsemius wrote:
>> On Apr 15, 2010, at 12:34 PM, luke at stat.uiowa.edu wrote:
>>
>>> The current issue of JCGS (Vol 18 No 1,
>>> http://pubs.amstat.org/toc/jcgs/19/1 ) has an editorial on including
>>> animations, 3D visualizations, and movies in on-line PDF files
>>> supporting JCGS articles. The online supplements to the editorial
>>> include examples.  The 3D examples related to the misc3d packages  
>>> are
>>> also available in
>>> http://www.stat.uiowa.edu/~luke/R/misc3d/misc3d-pdf/.  At some point
>>> the code there will be added to misc3d.  It should be possible to
>>> adapt these ideas to other objects rendered with rgl.
>>
>> Very kewl. On a Mac the greyscale plots opened in Adobe Acrobat  
>> Reader
>> v8.2.2 displays properly, but the color version supp_j.pdf looks like
>> a ménage à trois of three psychedelic sea urchins. I think that Adobe
>> may need to do some work on their display engine for this to be a
>> fully cross-platform combination. The color version of the volcano
>> example is likewise carpeted with spiky artifacts.
>>
>> (I have not yet tried producing plots de novo with the Mac pdf  
>> device.)
>>
>
> Have you tried in Acrobat Reader >=9 ? The editorial says you need  
> that
> to view the pdfs properly.

Thank you, that was it. I thought that my version of Acrobat Reader  
was current for my OS, but it was not. Acrobat 9.3 for the Mac renders  
the plots correctly. Now I get quite lovely orientable images.

>
> G
>
> -- 
> %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
> Dr. Gavin Simpson             [t] +44 (0)20 7679 0522
> ECRC, UCL Geography,          [f] +44 (0)20 7679 0565-

-- 
David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list