diff options
| author | drowe67 <[email protected]> | 2023-07-14 10:33:23 +0930 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-07-14 10:33:23 +0930 |
| commit | 6588e77f38bdebd7adffe091b22e7760d95d0ccb (patch) | |
| tree | e015b6d01db10ff219f5d1cf49eb3dcadb7dbe48 /octave/png.m | |
| parent | ac7c48b4dee99d4c772f133d70d8d1b38262fcd2 (diff) | |
| parent | 98992bc3585124981450659394d6f84032b81370 (diff) | |
Merge pull request #1 from drowe67/dr-cleanup
Cleanup
Diffstat (limited to 'octave/png.m')
| -rw-r--r-- | octave/png.m | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/octave/png.m b/octave/png.m deleted file mode 100644 index 09a7996..0000000 --- a/octave/png.m +++ /dev/null @@ -1,25 +0,0 @@ -% Copyright David Rowe 2009 -% This program is distributed under the terms of the GNU General Public License -% Version 2 -% -% Replot current plot as a png, generates small and large versions - -function png(pngname) - % small image - - __gnuplot_set__ terminal png size 420,300 - ss = sprintf("__gnuplot_set__ output \"%s.png\"", pngname); - eval(ss) - replot; - - % larger image - - __gnuplot_set__ terminal png size 800,600 - ss = sprintf("__gnuplot_set__ output \"%s_large.png\"", pngname); - eval(ss) - replot; - - % for some reason I need this to stop large plot getting wiped - __gnuplot_set__ output "/dev/null" - -endfunction |
