birth_pie
Plots pie diagram for the cumulative energy investment at birth
Contents
Syntax
[Hfig EMJHG E0 info] = birth_pie (p, eb)
Description
Shell around get_EMJHG to draw pies. Plots pie diagram for the cumulative energy investment at birth See section 4.3.3 of the comments on the DEB-book. The pie pieces are also given numerically as fractions in the output, which sum to 1. Investments that are fully dissipated are drawn exploded. If the growth efficiency is specified in p(5), cumulative allocation to growth is splitted into that to growth overhead and structure.
Input
- p: 4 or 5-vector with parameters: g, k, vHb, kap, kap_G
- eb: optional n-vector with scaled reserve densities at birth (default: 1)
Output
- Hfig: scalar with figure handle
- EMJHG: (n,5 or 6)-matrix with in the columns fractions of initial reserve at birth
- reserve left at birth, cumulatively allocated to som maint, mat maint, maturation, growth
- E0: scaler with initial amount of energy in reserve
- info: n-vector with 1's success and 0's otherwise for uE0 and tau_b-computations
Remarks
See also birth_pie_foetus for foetal development.
Example of use
See mydata_birth_pie