For issue #118 (closed).
Changes
New parameter data_years
. Also, the parameters ref_period_ini
and ref_period_end
have been unified in the new parameter ref_period
:
-
data_years
: It's a vector with the complete years of the data. It must be of the same length of dimension 'sdate_dim' of parameter 'data'. It is optional, if not specified, all the years will be used as the target period. As an example, if the data is from years continuously 2007 to 2021, it has to be:data_years = 2007:2021
. -
ref_period
: It's a vector with all the years of the reference period. As an example, if the reference period goes from 2007 to 2010, it has to be:ref_period = 2007:2010
.
Some other added parameters:
-
last_date
: Optional, to indicate the last date of the timeseries. -
subtitle
: Optionla, used to set a subtitle. -
ytitle
: Optional, it stands for the y-axis title. -
legend
: Optional, whether to plot the legend or not.