Sébastien Villemot
10af04c6d8
Use Unicode copyright symbol (in UTF-8 encoding) in all source files
...
It is now supported by the MATLAB editor (as of R2022a).
The old ASCII notation is left in some files that we copy as-is from other
sources (e.g. in the contrib/ and m4/ subdirectories).
The particles submodule is not updated at this point, because it is in an
inconsistent state.
[skip ci]
2022-04-13 14:54:25 +02:00
Sébastien Villemot
766fff88f6
Use secure URL for link to GNU licenses
2021-06-09 17:35:05 +02:00
Sébastien Villemot
3e6224e0b6
plot_contributions.m: compatibility fixes for Octave
...
— use zeros instead of NaNs when decomposing between positive and negative
contributions; otherwise some contributions are not plotted
— the bar() function returns a column-vector of graphic handles, while on
MATLAB it returs a row-vector
2021-01-29 15:20:18 +01:00
Sébastien Villemot
5da473ac66
plot_contributions.m: compatibility fix for MATLAB ≤ R2019a
2021-01-29 14:55:06 +01:00
Stéphane Adjemian (Charybdis)
c5d131b3ab
Bug fix.
2020-05-29 12:03:25 +02:00
Stéphane Adjemian (Charybdis)
75945a62ac
Fixed plot_contribution routine.
2019-05-14 22:12:33 +02:00
Houtan Bastani
03eaac8b6d
make plot_contributions use get_ast_jsonmodel
2019-01-16 14:53:21 +01:00
Stéphane Adjemian(Charybdis)
c5ebb2ca30
Adapted codes to the json files new location.
2018-07-10 20:15:53 +02:00
Stéphane Adjemian(Charybdis)
33d752bad3
Fixed filtering out of non exact matches.
...
Patch proposed by Anatole, see:
https://gitlab.com/McModelTeam/McModelProject/issues/76
2018-07-04 08:57:07 +02:00
Stéphane Adjemian(Charybdis)
35865d1e37
Cosmetic changes (plot_contributions).
2018-03-05 12:40:32 +01:00
Stéphane Adjemian(Charybdis)
904a11d962
Fixed case where all parameter values are hard coded (plot_contributions).
2018-03-05 12:37:28 +01:00
Stéphane Adjemian(Charybdis)
a62c167146
Fixed issues with new implementation of the diff operator (plot_contributions).
2018-03-05 12:35:49 +01:00
Stéphane Adjemian(Charybdis)
4a646e4ab3
Fixed check on equation tag (plot_contributions).
2018-03-05 12:32:35 +01:00
Houtan Bastani
c671b78952
plot_contributions: if getEquationsByTags returns an empty jsonmodel, we know that no equation was found with `equationname` so simplify check
2018-01-25 15:57:50 +01:00
Houtan Bastani
8f66bc97eb
fix header in plot_contributions
2018-01-25 15:53:31 +01:00
Houtan Bastani
b3d05e84df
fix bug in plot_contributions
2018-01-25 15:53:02 +01:00
Houtan Bastani
23a251e7d7
plot_contributions: fix bug
2018-01-12 12:04:58 +01:00
Houtan Bastani
aceeef876b
ols: modify ols-style estimation routines to account for change in 7be8f10e0e
2018-01-12 11:45:50 +01:00
Stéphane Adjemian(Charybdis)
a07b61909c
Fixed bug (substitutions in equations).
2017-12-15 09:14:14 +01:00
Stéphane Adjemian(Charybdis)
5537c26292
Fixed parenthesis in regular expression.
2017-11-23 15:30:53 +01:00
Houtan Bastani
218be82326
plot_contributions: fix typo
2017-11-10 10:37:16 +01:00
Stéphane Adjemian (Scylla)
1d6dcb1dfc
Changed interface to plot_contribution routine.
...
- Removed first argument.
- Added the possibility to use the routine as a matlab command.
- Fixed issue with underscores in variable names (appearing in
the figure legend).
- Fixed bug in the list of names appearing in the legend.
2017-07-28 12:43:16 +02:00
Houtan Bastani
cc121aa660
plot_contributions: remove unnecessary `find`
2017-07-07 17:20:10 +02:00
Houtan Bastani
e34a1e1d9e
make it such that getEquationsByTags always returns a cell
2017-07-07 17:18:37 +02:00
Houtan Bastani
b7a8ad6b7e
test for leads in equation
2017-07-06 14:33:19 +02:00
Houtan Bastani
9fa24804ec
allow retrieval of multiple equations if multiple tags are passed
2017-07-05 13:13:33 +02:00
Stéphane Adjemian (Charybdis)
061588d2d2
Use stacked bars in contribution plots.
2017-06-29 16:07:53 +02:00
Stéphane Adjemian (Charybdis)
33967e9702
Fixed level when baseline is nonzero.
...
Return contributions in difference to the baseline.
2017-06-29 14:27:07 +02:00
Stéphane Adjemian (Charybdis)
0115222fef
Removed debugging display of rhs.
2017-06-29 13:38:52 +02:00
Stéphane Adjemian (Charybdis)
477a55da2e
Efficiency and interface changes.
...
- Do not loop on all the variables in the dseries objects.
- Do not pass a structure for the parameters (read in M_.params instead).
- Add a baseline scenario.
2017-06-29 13:29:16 +02:00
Stéphane Adjemian (Charybdis)
132d483032
Display more informative error message.
2017-06-28 21:39:39 +02:00
Stéphane Adjemian (Charybdis)
a6c7de4f08
Cosmetic changes.
2017-06-28 18:38:10 +02:00
Houtan Bastani
c71ae37670
fix bug
2017-06-27 11:24:35 +02:00
Houtan Bastani
e99d899d47
simplify code
2017-06-27 11:19:05 +02:00
Houtan Bastani
76349ffcf6
remove tic/toc
2017-06-27 10:54:16 +02:00
Houtan Bastani
135898b9c2
improve timing for plot contributions
2017-06-27 10:53:29 +02:00
Houtan Bastani
d840695ae0
plot contributions
2017-06-26 22:30:59 +02:00