Commit Graph

23 Commits (master)

Author SHA1 Message Date
Johannes Pfeifer 32d5bc05a1
Octave: support ofig graph format 2023-10-05 10:28:28 -04:00
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 7b053c7e92
Option graph_format=pdf now works under Octave
Also copy the same Octave-specific code as for EPS printing (added in
84f0d6c7da to fix problems with hybrid
Unix/Windows parallel clusters).
2019-09-25 16:06:38 +02:00
Stéphane Adjemian (Charybdis) 5417b27ac7 Fixed indentation of matlab files. 2017-05-16 15:10:20 +02:00
Houtan Bastani e5f1d20221 change dyn_figure to take a nodisplay and graph_format arguments as opposed to options_. closes #1415 2017-03-23 17:59:05 +01:00
Marco Ratto ee7611c8ad added note to commented text, as an alternate option, should bugs/problems be reported with line 60 2017-01-03 19:15:53 +01:00
Marco Ratto 4ecf1d9f5d Workaround to avoid popup figures with nodisplay option saved as fig in MATLAB. 2016-12-20 09:14:48 +01:00
Stéphane Adjemian (Charybdis) ddd95361ba Cosmetic changes. Added isoctave function to replace exist('OCTAVE_VERSION'). 2013-11-04 10:54:45 +01:00
Houtan Bastani 62af90efd4 error when bad value passed to graph_format 2013-06-27 16:45:08 +02:00
Marco Ratto 84f0d6c7da bug fix for octave under windows and hybrid unix-windows clusters 2013-04-05 17:16:17 +02:00
Sébastien Villemot c58aebd2ef Fix dyn_saveas for Octave 2013-03-16 14:21:16 +01:00
Johannes Pfeifer cd26c3cebd Bugfix in dyn_saveas
Fixed a bug for the non-Octave version where only the last active figure
was printed instead of the figure with the actual handle. Octave
eps-version still needs to be taken care of.
2013-03-16 11:47:56 +01:00
Houtan Bastani a23b497a49 bug fix: none instead of pdf to graph_format 2012-10-31 16:16:45 +01:00
Sébastien Villemot cba7a3fcc8 Homogeneize behavior for PDF and FIG under Octave 2012-09-18 11:12:11 +02:00
Stéphane Adjemian (Charybdis) d9f3ab5be8 Partially revert commit #69efc894c6dc9ac1250bd7450bd57443f088c242. Test for Octave/Matlab to decide how to call the print command. Added a warning stating that Octave cannot create pdf files. 2012-08-29 16:50:08 +02:00
Marco Ratto 1193cab7c8 Make the function compatible with multiple file formats. 2012-08-27 16:37:14 +02:00
Stéphane Adjemian (Charybdis) 69efc894c6 Fixed bug. Removed extension declaration for Encapsulated PostScript graphics file format. 2012-08-24 14:56:44 +02:00
Marco Ratto 907544bc1a big fix with strcmp 2012-06-07 21:54:55 +02:00
Sébastien Villemot 6cc3be7252 Octave can create PDF files 2012-06-07 18:29:00 +02:00
Marco Ratto bb94a39c85 When nodisplay=1, the figure has to be set visible before saving and closing, otherwise it is saved as not visible and when users try to open it, the saved figure is invisible (ticket 216).
The process is so quick that the figure is closed before it is made visible on the screen, so complying with nodisplay requirements, keeping thew whole procedure behind the scenes.
2012-04-29 21:18:33 +02:00
Johannes Pfeifer 4c255cf2ae Starts implementing Ticket 216. Most plotting and figure is now controlled by the functions dyn_figure and dyn_saveas, allowing for option_.nodisplay to suppress the displaying of figures and using options_.graph_format to control the format of saved figures. 2012-04-25 11:47:40 +02:00
Marco Ratto e6b9912bb4 Added utilities for dynare figure creation and saving. 2012-01-12 17:46:40 +01:00