Commit Graph

429 Commits (e9ffb16ec62b8e6cba2ca1dc84e8c4c65d8a45f0)

Author SHA1 Message Date
Houtan Bastani b94839f83b add input type check 2015-10-21 12:22:23 +02:00
Houtan Bastani de6e1faae8 add showOutput option to canned irf macro 2015-10-21 12:21:45 +02:00
Houtan Bastani 42797082ec when plotting series that are all zeros, set the y range 2015-10-20 12:58:30 +02:00
Houtan Bastani 905c3b9c40 fix typo 2015-10-20 12:24:21 +02:00
Houtan Bastani d204b44434 change default name of canned report 2015-10-20 10:35:31 +02:00
Houtan Bastani b0fc52dca1 add integer ticks to the bottom of IRFs in canned report 2015-10-20 10:31:45 +02:00
Houtan Bastani 8050deee0e update pgf layers for new texlive version under debian 2015-10-19 15:13:46 +02:00
Houtan Bastani 6c3719280e update path to include macros folder 2015-10-16 15:36:59 +02:00
Houtan Bastani 428ead788c fix spacing 2015-10-15 12:32:24 +02:00
Houtan Bastani 9f8eb4e30d fix path to always use forward slash 2015-10-15 12:31:21 +02:00
ferhat bae1f89c02 Do not print out NAN values 2015-10-15 11:16:13 +02:00
ferhat 0af48c4ac9 Fix typo 2015-10-15 11:15:33 +02:00
Houtan Bastani a037e3177c fix strjoin statements 2015-07-16 16:55:29 +02:00
Houtan Bastani 2cb0bc27dc when latex option is passed, write page to its own file and include it in the report 2015-07-08 11:20:44 +02:00
Houtan Bastani cb2571b158 add header option to report class 2015-07-03 11:10:53 +02:00
Houtan Bastani 2464865b88 reporting: add latex option to page class 2015-07-03 11:09:46 +02:00
Houtan Bastani b4bbd49b7f create .gitignore 2015-07-02 11:19:37 +02:00
Houtan Bastani 3a303fcb6f create a new page for each exo variable 2015-07-02 11:15:24 +02:00
Houtan Bastani 9cd10285ec change default graph precision 2015-07-02 10:15:24 +02:00
Houtan Bastani 33aba204d8 don't add pages in case where there are several shocks that don't have associated IRFs 2015-07-02 10:14:12 +02:00
Houtan Bastani ce891a5e3d change graph names in canned report 2015-07-02 10:12:32 +02:00
Houtan Bastani b15cfd1404 update make_report_irfs 2015-07-02 10:08:08 +02:00
Houtan Bastani cea37a15e5 update irf macro 2015-07-01 15:05:17 +02:00
Houtan Bastani ca59274c87 add titleFormat to irf macro 2015-07-01 11:18:57 +02:00
Houtan Bastani 9e9f746469 automatically find pdflatex.exe on windows with texlive installation 2015-06-26 15:41:15 +02:00
Houtan Bastani 08eeb0fd1e new macro to create irf reports. #1 2015-06-17 12:49:40 +02:00
Houtan Bastani ac811378c7 add newlines to end of output to return matlab prompt to original position 2015-06-17 12:47:46 +02:00
Houtan Bastani bf6fa900db catch situation where user doesn't overrwrite the original reporting object, causing a section to have zero elements 2015-06-17 12:42:38 +02:00
Houtan Bastani 7a8467c13a remove unnecessary package 2015-06-11 17:02:20 +02:00
Houtan Bastani 5f41bb3264 simplify compile.m 2015-06-11 11:53:32 +02:00
Houtan Bastani 17d5b639f1 fix for debian's outdated latex distribution. to be reverted upon upgrade 2015-06-03 15:21:26 +02:00
Houtan Bastani 67f6f59e7f remove superfluous comments 2015-04-29 16:20:09 +02:00
Houtan Bastani 0f4e3d2888 reporting: use linewidth instead of textwidth as it works better in landscape mode 2015-04-29 16:19:23 +02:00
Houtan Bastani 84d1933143 further fixes to make fan charts work with debian’s outdated latex distro (as with 0de30dc5c170695fb89bccfb41939224959aebfe, to be reverted when Debian disto is upgraded) 2015-04-28 17:34:29 +02:00
Houtan Bastani f2002669e4 reporting: fixes to make fan charts work with debian’s outdated latex distro 2015-04-28 16:35:58 +02:00
Houtan Bastani c620943245 don't add fan chart shading to legends 2015-04-27 18:24:13 +02:00
Houtan Bastani 523c0c7864 add possibility to create fan charts 2015-04-27 18:16:05 +02:00
Houtan Bastani ec6a4e92b0 use predefined pgf layers 2015-04-24 16:13:16 +02:00
Houtan Bastani c2a3e40178 add readme file 2015-02-24 16:32:29 +01:00
Houtan Bastani 6980669d6e add example code, slightly modified from DynareTeam/dynare.git tests/reporting 2015-02-24 16:32:09 +01:00
Houtan Bastani 761c07cdb2 add initialization file 2015-02-24 16:31:57 +01:00
Houtan Bastani 1c1681ac3c add license info 2015-02-24 16:05:20 +01:00
Houtan Bastani e436add816 move everything to src dir 2015-02-24 16:02:19 +01:00
Houtan Bastani 29587b7f2a reporting: add titleTruncate option 2015-01-27 09:54:37 +01:00
Houtan Bastani b3a7e49464 reporting: run compilation in batchmode to speed it up slightly 2015-01-08 18:37:44 +01:00
Houtan Bastani eab8089e16 reporting: add option to stop LaTeX compilation when an error is encountered (instead of prompting the user for input) 2015-01-08 18:35:10 +01:00
Houtan Bastani 135ae323d5 reporting: add legendAt option. closes #810 2014-12-29 22:18:08 +01:00
Houtan Bastani 224f2ed793 reporting: fix legend entry for bar graphs 2014-12-29 20:37:44 +01:00
Houtan Bastani 814ff2a835 reporting: add support for bar graphs, closes #809 2014-12-23 17:52:40 +01:00
Houtan Bastani 94533d213b reporting: fix error message 2014-12-23 17:52:17 +01:00
Houtan Bastani 387a9b87b1 reporting: tables: add row highlighting option 2014-07-30 15:21:32 +02:00
Houtan Bastani 2cbe1c34d9 reporting: add writeCSV option for tables. closes #693 2014-07-29 15:21:51 +02:00
Houtan Bastani 54adbb1e69 reporting: table fix bug where the table would not be saved in the directory specified by tableDirName if the tableName option was provided 2014-07-29 15:21:51 +02:00
Houtan Bastani 13dc0e3538 reporting: add writeCSV option for graphs, #693 2014-07-29 15:21:45 +02:00
Houtan Bastani 4fa89e2fc4 reporting: write tableSubSectionHeader in bold 2014-07-28 17:28:20 +02:00
Houtan Bastani 3adc7826db reporting: fix bug where a whole row wasn’t colored if the tableSubSectionHeader option was passed at the same time 2014-07-28 17:28:20 +02:00
Houtan Bastani 310b081c41 reporting: minor aesthetic changes to table and code simplifications 2014-07-28 17:28:20 +02:00
Houtan Bastani d6a37e8fcc reporting: ensure tableRowIndent is ge 0 2014-07-28 17:28:20 +02:00
Houtan Bastani 7a529bc973 reporting: option to suppress reporting output. closes #688 2014-07-25 14:38:30 +02:00
Houtan Bastani b0bd8d62c0 reporting: bug fix. closes #673 2014-07-09 15:46:28 +02:00
Houtan Bastani 4487e41580 reporting: fix bug in creating table when data option is passed to constructor 2014-07-09 15:46:28 +02:00
Houtan Bastani 9aef6eede7 reporting: modify depricated method of changing font (thanks to Dirk Muir for the solution) 2014-07-08 16:12:17 +02:00
Houtan Bastani 8a89b63cea reporting: graph: add option yTickLabelScaled 2014-07-07 16:49:53 +02:00
Houtan Bastani 2f4540d36c reporting: remove unused graphSize option 2014-07-07 10:29:09 +02:00
Houtan Bastani 27764e5c4e reporting: add option to suppress compiler output 2014-07-07 09:49:12 +02:00
Houtan Bastani ff97205474 reporting: add option to open report at end of compilation 2014-07-07 09:45:34 +02:00
Houtan Bastani 7c7a8a5bb9 reporting: rework option handling for compile.m 2014-07-07 09:45:25 +02:00
Houtan Bastani a1d4284e7c reporting: fix bug with end tabular/end landscape 2014-07-04 16:46:09 +02:00
Houtan Bastani 52dacc673d reporting: remove checks on colors that are passed to graphs/series to allow for all color combinations supported by TikZ 2014-06-27 17:06:45 +02:00
Houtan Bastani 128a6c6d95 fix typo 2014-06-27 16:26:34 +02:00
Houtan Bastani 4fd0daee45 add missing semicolon 2014-06-27 16:18:05 +02:00
Houtan Bastani 36332da071 reporting: graph: add option tickFontSize 2014-06-27 15:56:06 +02:00
Houtan Bastani a269940940 reporting: add graph option to change title font size 2014-06-25 16:30:04 +02:00
Houtan Bastani 544b4c5a57 reporting: support a different shape for the axis in a graph 2014-06-24 15:51:29 +02:00
Houtan Bastani ee1e47883c reporting: add graph option: zeroLineColor 2014-06-20 15:41:11 +02:00
Houtan Bastani dcd151a713 reporting: fix shading on Linux 2014-06-10 15:48:49 +02:00
Houtan Bastani afa2f03db5 reporting: align graphs based on axis not axis labels 2014-06-10 10:15:24 +02:00
Houtan Bastani d038a6c9f3 reporting: add options to control y axis label 2014-06-10 10:15:15 +02:00
Houtan Bastani f2e0ce6af8 reporting: change default multiplication operator for graph precision 2014-06-09 11:47:23 +02:00
Houtan Bastani 2a490eaa80 reporting: add new Paragraph class 2014-05-23 18:10:44 +02:00
Houtan Bastani 914b81d830 reporting: make zerotol work for both graphs and reports 2014-05-22 19:03:25 +02:00
Houtan Bastani 656d74436b reporting: fix display 2014-05-22 19:03:25 +02:00
Houtan Bastani 0f3c1b1537 reporting: add new option graphShowInLegend to addSeries 2014-05-22 19:03:20 +02:00
Houtan Bastani cd6074b5d1 reporting: bug fix for graphHline 2014-05-22 17:03:52 +02:00
Houtan Bastani 0059a1bd4b reporting: bug fix for when a series doesn’t have a data option passed to it 2014-05-22 16:41:43 +02:00
Houtan Bastani bd5ba5e73d reporting: replace isa(*,’dseries’) with isdseries() 2014-05-20 14:51:46 +02:00
Houtan Bastani fac17ab6e7 reporting: replace isa(*,’dates’) with isdates() 2014-05-20 14:51:41 +02:00
Houtan Bastani 92e8c9340a reporting: clean up writeSeriesForGraph.m 2014-05-20 14:39:50 +02:00
Houtan Bastani 5b29f183b3 reporting: change vline to accept only one dates 2014-05-20 14:38:02 +02:00
Houtan Bastani 120aa7ede7 reporting: support horizontal lines 2014-05-20 14:25:01 +02:00
Houtan Bastani dc8763a810 reporting: support vertical lines 2014-05-20 14:17:24 +02:00
Houtan Bastani 62f8189a25 reporting: add new background layer 2014-05-20 14:16:52 +02:00
Houtan Bastani d40498fea1 reporting: add missing semicolon 2014-05-19 17:52:24 +02:00
Houtan Bastani f3cdc4ff79 reporting: remove instances of deprecated function strmatch 2014-05-19 17:49:52 +02:00
Houtan Bastani 905bb8a3b6 reporting: remove unused variable 2014-05-19 17:27:47 +02:00
Houtan Bastani 927bc3b9c9 reporting: allow vspaces when section is not complete (implies that section is over) 2014-05-19 17:22:29 +02:00
Houtan Bastani cb90f5e72d add missing semicolon 2014-05-19 16:31:37 +02:00
Houtan Bastani 7576ba2e03 reporting: add miscTikzAxisOptions option to addGraph 2014-05-19 15:57:43 +02:00
Houtan Bastani c0174131f6 reporting: add miscTikzPictureOptions option to addGraph 2014-05-19 15:57:43 +02:00
Houtan Bastani 1d4fe68f4d reporting: allow for miscellaneous PGFPlots options to the addPlot command 2014-05-19 15:57:37 +02:00
Houtan Bastani 9829a5e213 reporting: add option ‘graphLegendName’ to addSeries 2014-05-19 12:29:54 +02:00
Houtan Bastani 8222d4254d reporting: fix spacing between sections 2014-05-16 16:59:56 +02:00
Houtan Bastani 41d86fca9e reporting: bug fix 2014-05-16 16:43:45 +02:00
Houtan Bastani 2dd68d4ecd reporting: simplify check 2014-05-16 16:35:18 +02:00
Houtan Bastani 56d284d30a Add back function that was erroneously removed 2014-05-16 15:29:54 +02:00
Houtan Bastani c783bcfccf reporting: fix bug when data option is passed to addGraph 2014-05-16 15:00:43 +02:00
Houtan Bastani 5a35c9d54a reporting: upgrade minimum pgfplots version when Debian upgrades its version 2014-02-24 15:53:07 +01:00
Houtan Bastani 75f4994d04 reporting: add baseline option to help with tikzpicture alignment 2014-02-24 15:34:48 +01:00
Houtan Bastani 01e6c2a971 reporting: comment out spurious whitespace 2014-02-24 15:30:39 +01:00
Houtan Bastani bb3e2fdff8 reporting: fix shading 2014-02-24 09:11:11 +01:00
Houtan Bastani f035fabb14 reporting: fix xticklabels for various shading situations 2014-02-24 09:09:33 +01:00
Houtan Bastani 7dfe38198c reporting: add option 'ALL' to xTickLabels 2014-02-20 16:35:05 +01:00
Houtan Bastani eacea6d66d reporting: change xTickLabels default to be first date, last date, and, if passed, the first date of the shade region. Accordingly, change the default of the tick rotation to be 0. 2014-02-20 16:24:37 +01:00
Houtan Bastani f877285c3b reporting: change figName option to graphName; change figDirName option to graphDirName 2014-02-19 15:23:56 +01:00
Houtan Bastani 84faa840c0 reporting: change option names to camelCase 2014-02-19 15:10:04 +01:00
Houtan Bastani c693f745fa reporting: extract tables into individual files for easy inclusion by user in their paper 2014-02-19 10:04:57 +01:00
Houtan Bastani 68a8e42933 reporting: table.write: get length only once 2014-02-19 09:51:26 +01:00
Houtan Bastani 2e8ef3ad5f reporting: fix name of file 2014-02-19 09:49:11 +01:00
Houtan Bastani 414ef860ab reporting: fix bug causing directory to be ignored if figname option was passed to addGraph 2014-02-19 09:05:55 +01:00
Houtan Bastani 96cd971f66 reporting: rename reporting_object_display.m 2014-02-19 08:24:46 +01:00
Houtan Bastani 7cfedcd2f6 reporting: make the titleFormat default work for both titles and subtitles, not just titles 2014-02-17 12:25:49 +01:00
Houtan Bastani a71b8808df reporting: add subtitles for graphs, closes #580 2014-02-17 12:11:41 +01:00
Houtan Bastani a4b45bae37 reporting: change default for titleFormat of page 2014-02-17 11:19:50 +01:00
Houtan Bastani 5f82248caf reporting: add subtitle support for tables, ref #580 2014-02-17 11:19:46 +01:00
Houtan Bastani 3751fd9f39 reporting: remove unused package and consolidate fprintf statements 2014-02-14 17:45:04 +01:00
Houtan Bastani d71878e327 reporting: for easier figure reference, by default save report figures as: pg%d_sec%d_row%d_col%d.tex 2014-02-14 16:18:05 +01:00
Houtan Bastani 4c0cbaceff reporting: include graph title in tikz code as opposed to latex 2014-02-14 15:36:16 +01:00
Houtan Bastani f92e714000 reporting: deal with nans/inf/-inf data by jumping it 2014-02-14 15:24:44 +01:00
Houtan Bastani ed80ed12fb reporting: compile with synctex option 2014-02-14 11:44:14 +01:00
Houtan Bastani a940a028c6 add missing semicolon 2014-02-14 11:41:05 +01:00
Houtan Bastani 97da5d9ae3 reporting: add options xAxisTight and yAxisTight 2014-02-13 17:01:34 +01:00
Houtan Bastani 7f199ee114 reporting: implement enlarge y limits for graph; requires a change in shading to get programmed ymin => using fill now 2014-02-13 16:47:17 +01:00
Houtan Bastani 95f9c37726 reporting: fix name of function in error messages 2014-02-13 15:25:54 +01:00
Houtan Bastani 7cf2d46463 reporting: set up graph shade opacity 2014-02-13 15:22:38 +01:00
Houtan Bastani 67360a1711 reporting: set up graph shade color 2014-02-13 15:22:31 +01:00
Houtan Bastani fb7def044a reporting: set up legends for graphs 2014-02-13 15:14:29 +01:00
Houtan Bastani 0d364975db reporting: make graph line markers work with tikz 2014-02-12 16:13:41 +01:00
Houtan Bastani 2a38a2615d reporting: change series method names for writing 2014-02-12 14:48:48 +01:00
Houtan Bastani 27fea2633a reporting: re-impliment yrange option 2014-02-11 18:25:50 +01:00
Houtan Bastani 1d76ad5496 reporting: new option xTickLabelAnchor 2014-02-11 17:04:06 +01:00
Houtan Bastani 53d249cd88 fix typo 2014-02-11 17:04:06 +01:00
Houtan Bastani f90a6836e7 reporting: new option xTickLabelRotation 2014-02-11 17:04:06 +01:00
Houtan Bastani 617db5ba64 reporting: add custom height/width to graphs 2014-02-11 15:34:42 +01:00
Houtan Bastani adda7d8604 first pass at tikz/pgf graphs 2014-02-11 15:34:35 +01:00
Houtan Bastani 1cfc233633 reporting: remove unused method 2014-02-11 15:21:01 +01:00
Houtan Bastani 24f550a2e9 reporting: remove unused methods 2014-02-11 13:02:20 +01:00
Houtan Bastani 33d22eaf9b reporting: replace num2str with sprintf 2014-02-10 18:03:05 +01:00
Houtan Bastani c21044ba87 reporting: simplify graph code 2014-02-10 17:10:09 +01:00
Houtan Bastani fa020902a0 reporting: simplify section code 2014-02-10 16:21:30 +01:00
Houtan Bastani c862fdfbb7 reporting: let subsasgn take {} ref 2014-02-10 16:19:01 +01:00