J.delasHeras at ed.ac.uk
2010-Oct-21 09:49 UTC
[R] 3D-scatterplots - high quality rendering?
I have just started using the package 'rgl' to explore my data as a 3D scatterplot. It's a great tool. But I would like to be able to save some graph views and it appears the only format available is 'png' and it doesn't look that nice. It is excellent to work with on screen and explore/play, but when it comes to producing a good quality graphic I'm a bit disappointed. So the questions I have are: 1) is there a way to render the graph in the RGL device as a high quality graphic? 2) if the answer is no, what would be the best package to produce good quality "point-of-view" customisable 3D scatter plots? I guess I cal always use 'rgl' to explore the data, and then use an alternative to produce specific plots, once I figure which views/angles are the ones I want to show. 3) it would be interesting to produce a simple movie, maybe just a 360-degree rotation. Is there a package geared towards that, or do I just simply create a collection of images that I animate elsewhere? Thank you for your help! Jose -- Dr. Jose I. de las Heras Email: J.delasHeras at ed.ac.uk The Wellcome Trust Centre for Cell Biology Phone: +44 (0)131 6507095 Institute for Cell & Molecular Biology Fax: +44 (0)131 6507360 Swann Building, Mayfield Road University of Edinburgh Edinburgh EH9 3JR UK -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
J.delasHeras at ed.ac.uk wrote:> I have just started using the package 'rgl' to explore my data as a 3D > scatterplot. > > It's a great tool. But I would like to be able to save some graph > views and it appears the only format available is 'png' and it doesn't > look that nice. It is excellent to work with on screen and > explore/play, but when it comes to producing a good quality graphic > I'm a bit disappointed. > > So the questions I have are: > > 1) is there a way to render the graph in the RGL device as a high > quality graphic? >You can use rgl.postscript for various other formats, but you may find the bitmap output is better. In particular, shading is not always done correctly. Duncan Murdoch> 2) if the answer is no, what would be the best package to produce good > quality "point-of-view" customisable 3D scatter plots? I guess I cal > always use 'rgl' to explore the data, and then use an alternative to > produce specific plots, once I figure which views/angles are the ones > I want to show. > > 3) it would be interesting to produce a simple movie, maybe just a > 360-degree rotation. Is there a package geared towards that, or do I > just simply create a collection of images that I animate elsewhere? > > Thank you for your help! > > Jose > >
Jose de las Heras wrote:> > > 3) it would be interesting to produce a simple movie, maybe just a > 360-degree rotation. Is there a package geared towards that, or do I just > simply create a collection of images that I animate elsewhere? > >I used that approach, and it works well. Dieter -- View this message in context: http://r.789695.n4.nabble.com/3D-scatterplots-high-quality-rendering-tp3005300p3005442.html Sent from the R help mailing list archive at Nabble.com.
J.delasHeras at ed.ac.uk wrote:> I have just started using the package 'rgl' to explore my data as a 3D > scatterplot. > > It's a great tool. But I would like to be able to save some graph > views and it appears the only format available is 'png' and it doesn't > look that nice. It is excellent to work with on screen and > explore/play, but when it comes to producing a good quality graphic > I'm a bit disappointed. > > So the questions I have are: > > 1) is there a way to render the graph in the RGL device as a high > quality graphic? > > 2) if the answer is no, what would be the best package to produce good > quality "point-of-view" customisable 3D scatter plots? I guess I cal > always use 'rgl' to explore the data, and then use an alternative to > produce specific plots, once I figure which views/angles are the ones > I want to show. > > 3) it would be interesting to produce a simple movie, maybe just a > 360-degree rotation. Is there a package geared towards that, or do I > just simply create a collection of images that I animate elsewhere? >See ?movie3d in rgl for doing the latter. Duncan Murdoch> Thank you for your help! > > Jose > >
On Oct 21, 2010, at 5:49 AM, J.delasHeras at ed.ac.uk wrote:> > I have just started using the package 'rgl' to explore my data as a > 3D scatterplot. > > > 3) it would be interesting to produce a simple movie, maybe just a > 360-degree rotation. Is there a package geared towards that, or do I > just simply create a collection of images that I animate elsewhere? >require(rgl) ?movie3d -- David Winsemius, MD West Hartford, CT