[R] adding lines to scatterplot3d

Uwe Ligges ligges at statistik.uni-dortmund.de
Tue Apr 18 15:18:46 CEST 2006


andrea valle wrote:

> Thanks a lot,  I having it working.
> 
> Is it possible to have dashed or dotted lines?
> I wasn't able to find a fitting type.


All as in standard plot functions:

lty="dotted" or lty="dashed" should do the trick.

Uwe Ligges



> Best
> 
> -a-
> 
> On 18 Apr 2006, at 14:42, Dieter Menne wrote:
> 
> 
>>andrea valle <valle <at> di.unito.it> writes:
>>
>>
>>>I'm using scatterplot3d. I want to add dotted lines parallel to the 3
>>>axes, in order to create a sort of cage in the 3D box (so to represent
>>>subdomains in my dataspace).
>>>I saw that points3d can be used to draw points or lines to the 
>>>existing
>>>plot but actually I'm able only to draw points (I grabbed an example
>>>from the web)
>>
>>See example 5 in the documentation, and use type="l" to produce 
>>connecting lines.
>>
>>Dieter
>>
>>______________________________________________
>>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
>>
>>
> 
> Andrea Valle
> DAMS - Facoltà di Scienze della Formazione
> Università degli Studi di Torino
> http://www.semiotiche.it/andrea
> andrea.valle at unito.it
> 
> ______________________________________________
> 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