load(system.file("exampleData/slData.RData", package = "cn.farms"))
load(system.file("exampleData/testSegments.RData", package = "cn.farms"))
plotRegions(slData, testSegments, addInd = 10, ylim = c(-2, 2),
variable = "L_z", colorVersion = 1, plotLegend = TRUE,
pdfname = "slData.pdf")
Run the code above in your browser using DataLab