[R] 3d bar plot

Uwe Ligges ligges at statistik.uni-dortmund.de
Mon Jan 17 15:34:56 CET 2005


John Fox wrote:

> Dear Marwan and Jonne,
> 
> I don't think that there's a scatter3d package, so perhaps Marwan is
> referring to the scatter3d() function in the Rcmdr package. If so, that
> function won't make the kind of 3D graph that Jonne wants -- though the rgl
> package, on which scatter3d() is based, should be able to create the graph. 
> 
> I don't believe that the scatterplot3d() function in the scatterplot3d
> package can make the plot either, but I may be wrong.

John, you are right. scatterplot3d is not designed to do stuff like 
that. You can do some workarounds, but it will look rather ugly.

Uwe


> I hope this helps.
> 
> John
> 
> --------------------------------
> John Fox
> Department of Sociology
> McMaster University
> Hamilton, Ontario
> Canada L8S 4M4
> 905-525-9140x23604
> http://socserv.mcmaster.ca/jfox 
> -------------------------------- 
> 
> 
>>-----Original Message-----
>>From: r-help-bounces at stat.math.ethz.ch 
>>[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Marwan Khawaja
>>Sent: Sunday, January 16, 2005 7:04 PM
>>To: 'R user'; r-help at stat.math.ethz.ch
>>Subject: RE: [R] 3d bar plot
>>
>>You can check these packages,
>>?scatterplot3d
>>?scatter3d
>>
>>Best Marwan 
>>
>> 
>>-------------------------------------------------------------------
>>Marwan Khawaja         http://staff.aub.edu.lb/~mk36/
>>-------------------------------------------------------------------
>>
>>
>>>-----Original Message-----
>>>From: r-help-bounces at stat.math.ethz.ch 
>>>[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of R user
>>>Sent: Monday, January 17, 2005 12:37 PM
>>>To: r-help at stat.math.ethz.ch
>>>Subject: [R] 3d bar plot
>>>
>>>This graph ->
>>>http://www.math.hope.edu/~tanis/dallas/images/disth36.gif
>>>is an example I found at
>>>http://www.math.hope.edu/~tanis/dallas/disth1.html
>>>created by Maple.
>>>
>>>Does anybody know how to create something similar in R?
>>>
>>>I have a feeling it could be possible using scatterplot3d (perhaps 
>>>with type=h, the fourth example in help('scatterplot3d')?), but I 
>>>cannot figure it out.
>>>
>>>Thanks in advance,
>>>Jonne.
>>>
>>>______________________________________________
>>>R-help at stat.math.ethz.ch mailing list
>>>https://stat.ethz.ch/mailman/listinfo/r-help
>>>PLEASE do read the posting guide! 
>>>http://www.R-project.org/posting-guide.html
>>>
>>
>>______________________________________________
>>R-help at stat.math.ethz.ch mailing list
>>https://stat.ethz.ch/mailman/listinfo/r-help
>>PLEASE do read the posting guide! 
>>http://www.R-project.org/posting-guide.html
> 
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list