Last data update: 2014.03.03

R: Plot Diagnosis Function
plot.ETdiagnosisR Documentation

Plot Diagnosis Function

Description

This function enables the creation of the principle graphics resulting from the create.ETdiagnosis function.

Usage

## S3 method for class 'ETdiagnosis'
plot(x,scale=NULL,maxrange=NULL,legend.cex=NULL,ask=interactive(),...)

Arguments

x

is the list object returned by the create.ETdiagnosis function.

scale

is the scale parameter of the Biomass Trophic Spectra, can be log or by default the standard scale of results.

maxrange

is the maximum TL wanted for the x-axis. By default maxrange = 5.5.

legend.cex

defines the value of the cex for the legend.

ask

default value is interactive. Parameter used to enable the user to control the display of each graph.

...

plot other arguments

Details

The scale parameter controls the scale of the BTS y-axis, it corresponds by default to the scale of results, but it's usually more practical to use a log scale.

Value

The function returns the principal plots of the global ET-Diagnosis routine: the graphics of the biomass, accessible biomass...rates for the different effort multipliers, the Biomass Trophic Spectra (BTS) for the different effort multipliers, the B/Bref(mE=1) and Y/Yref graphs for the main TL classes and the Catch Trophic Spectra (CTS) (global and per fleet).

Author(s)

Colleter Mathieu, Guitton Jerome and Gatti Paul.

Examples

data(ecopath_guinee)
diagn.list<-create.ETdiagnosis(create.ETmain(ecopath_guinee),same.mE=TRUE)
plot(diagn.list)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(EcoTroph)
Loading required package: XML
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/EcoTroph/plot.ETdiagnosis.Rd_%03d_medium.png", width=480, height=480)
> ### Name: plot.ETdiagnosis
> ### Title: Plot Diagnosis Function
> ### Aliases: plot.ETdiagnosis
> ### Keywords: ~EcoTroph ~Diagnosis
> 
> ### ** Examples
> 
> data(ecopath_guinee)
> diagn.list<-create.ETdiagnosis(create.ETmain(ecopath_guinee),same.mE=TRUE)
> plot(diagn.list)
> 
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>