scatterplot3d: how to show scatterpoints in 2D-space with color as 3rd dimension?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

scatterplot3d: how to show scatterpoints in 2D-space with color as 3rd dimension?

Markus Preisetanz
Dear Colleagues:

 

I have 3 numeric variables (say x, y, z) in a data.frame and want to draw a 2D-scatterplot with the 3rd dimension as color, if possible without having to convert the whole thing to an appropiate matrix for image() manually.

 

Can e.g. scatterplot3d do something like this? There's a function xyz.convert, but I couldn't find the way to use it properly.

 

Sincerly,

 

___________________

Markus Preisetanz

Consultant

 

Client Vela GmbH

Albert-Roßhaupter-Str. 32

81369 München

fon:          +49 (0) 89 742 17-113

fax:          +49 (0) 89 742 17-150

mailto:[hidden email] <mailto:[hidden email]>



Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged infor...{{dropped}}


______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Reply | Threaded
Open this post in threaded view
|

Re: scatterplot3d: how to show scatterpoints in 2D-space with color as 3rd dimension?

Robin Hankin
Hi

p3d() of the onion package does this.


best wishes


Robin



On 16 Feb 2006, at 10:03, Markus Preisetanz wrote:

> Dear Colleagues:
>
>
>
> I have 3 numeric variables (say x, y, z) in a data.frame and want  
> to draw a 2D-scatterplot with the 3rd dimension as color, if  
> possible without having to convert the whole thing to an appropiate  
> matrix for image() manually.
>
>
>
> Can e.g. scatterplot3d do something like this? There's a function  
> xyz.convert, but I couldn't find the way to use it properly.
>
>
>
> Sincerly,
>
>
>
> ___________________
>
> Markus Preisetanz
>
> Consultant
>
>
>
> Client Vela GmbH
>
> Albert-Roßhaupter-Str. 32
>
> 81369 München
>
> fon:          +49 (0) 89 742 17-113
>
> fax:          +49 (0) 89 742 17-150
>
> mailto:[hidden email]  
> <mailto:[hidden email]>
>
>
>
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte  
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese  
> E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den  
> Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren  
> sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
>
> This e-mail may contain confidential and/or privileged infor...
> {{dropped}}
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting- 
> guide.html

--
Robin Hankin
Uncertainty Analyst
National Oceanography Centre, Southampton
European Way, Southampton SO14 3ZH, UK
  tel  023-8059-7743

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html