View source: R/Photosynthesis_functions.R
f.plot | R Documentation |
Plot a generic graphic with observed data and predictions. Be careful to sort the data.frame beforehand.
f.plot(measures = NULL, list_legend, param, name = "", type = "Aci", ...)
measures |
Data frame obtained from CO2 or light curve with at least columns A, Ci, Qin and Tleaf. |
list_legend |
Named list where the name and values will appear in the legend. |
param |
List of parameters given by f.make.param(). |
name |
Name of the curve to be displayed |
type |
Type of the curve to plot (light curve: Aq or CO2 curve Aci). |
Plot a figure
param=f.make.param()
A=f.Aci(PFD=2000,Tleaf=300,ci=seq(40,1500,50),param=param)$A+rnorm(n = 30,mean = 0,sd = 0.5)
data=data.frame(Tleaf=rep(300,30),Ci=seq(40,1500,50),Qin=rep(2000,30),A=A)
f.plot(measures=data,param=param,list_legend=param['VcmaxRef'],name='Example 01',type='Aci')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.