plot_anatomy: Plot root anatomy

View source: R/plot_anatomy.R

plot_anatomyR Documentation

Plot root anatomy

Description

This function plot the results of a 2D root cross section anatomy simulation

Usage

plot_anatomy(sim = NULL, col = "type", leg = T, apo_bar = 0, phi_thck = 0)

Arguments

sim

the simulation objkect, returned by 'create_anatomy.R'

col

Parameter to choose for the coloring of the cells. Accepted arguments are 'type', 'area', 'dist', 'id_cell', "segment' and 'angle'. Default = 'type'

leg

Display the legend; Default= TRUE

apo_bar

Display apolastic barrier when col = "segment". 1 endodermal casparian strip, 2 fully suberized endodermis, 3 fully suberized endodermis and an exodermal casparian strip, and 4 exodermis and endodermis are fully suberized.

phi_thck

Display phi thickening on the defined number of layer after the endodermis

Examples

# sim = create_anatomy(path = "PATH_TO_XLM_FILE")
# plot_anatomy(sim, col = "type")
# plot_anatomy(sim, col = "segment", apo_bar = 3)


granar/granar documentation built on Feb. 29, 2024, 3:58 p.m.