# 2D example
path <- "http://rootsystemml.github.io/images/examples/arabidopsis-simple.rsml"
pl <- rsmlToPlant(path) # import the file as a 2D plant
plot(pl) # plot the plant
# 3D example
path <- "http://rootsystemml.github.io/images/examples/anagallis.rsml"
pl <- rsmlToPlant(path, threed=TRUE) # import the file as a 2D plant
plot(pl, threed=TRUE) # plot the plant
Run the code above in your browser using DataLab