R language Access Menu

Creating a 3-D scatterplot

Three dimensional scatterplots can also be created easily in R: 

code:

    > library(scatterplot3d)
    > with(birthwt, scatterplot3d(age, lwt, bwt))

                   

Height of points can also be added: 

code:

    > library(scatterplot3d)
    > with(birthwt, scatterplot3d(age, bwt, lwt, type='h'))

 

                  


    Comments & Feedback