Graph with 3 axes

38 views
Skip to first unread message

Erick Faria

unread,
Jun 15, 2015, 8:47:35 AM6/15/15
to ggp...@googlegroups.com
Hello everyone .
I have the following data:

10    6    8
10    5    8
5     7    8
10    6    8
2.5   7    8
7.5   6    8
7.5   7    6
7.5   7    6


It is a survey I'm working that shows the variation of soil color per sample. I would like to put together a chart to show the three axes , value , chroma , hue .
I've been searching and found some 3D graphics ( shape of a cube) but I found that it was good .
You are more professional than me, if someone can help me or give me some idea , sometimes some other package.

PS : The first column is the value , the second is chroma and hue is the third , and each line is the time scale and the color variation of the sample.

Brandon Hurr

unread,
Jun 15, 2015, 2:52:05 PM6/15/15
to Erick Faria, ggplot2
ggplot2 can't do 3 dimensions in the same plot. 

I've used rgl to do that before. 

library(rgl)

plot3d(data$Value, data$Chroma, data$Hue, pch=30, col=data$HexValue, size=30)


--
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
 
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+u...@googlegroups.com
More options: http://groups.google.com/group/ggplot2

---
You received this message because you are subscribed to the Google Groups "ggplot2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ggplot2+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages