Mercurial > hg > octave-nkf
comparison scripts/plot/oneplot.m @ 2325:b5568c31ee2c
[project @ 1996-07-15 22:20:21 by jwe]
author | jwe |
---|---|
date | Mon, 15 Jul 1996 22:20:21 +0000 |
parents | 5ca126254d15 |
children | a034dcdbc282 |
comparison
equal
deleted
inserted
replaced
2324:fdc6e2f81333 | 2325:b5568c31ee2c |
---|---|
15 ## You should have received a copy of the GNU General Public License | 15 ## You should have received a copy of the GNU General Public License |
16 ## along with Octave; see the file COPYING. If not, write to the Free | 16 ## along with Octave; see the file COPYING. If not, write to the Free |
17 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA | 17 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA |
18 ## 02111-1307, USA. | 18 ## 02111-1307, USA. |
19 | 19 |
20 ## usage: oneplot | 20 ## usage: oneplot |
21 ## | 21 ## |
22 ## NOTE: this will work only with gnuplot installed with | 22 ## NOTE: this will work only with gnuplot installed with |
23 ## multiplot patch | 23 ## multiplot patch |
24 ## | 24 ## |
25 ## Switches from multiplot (if in multiplot mode) to single plot | 25 ## Switches from multiplot (if in multiplot mode) to single plot |
32 function oneplot () | 32 function oneplot () |
33 | 33 |
34 if (! gnuplot_has_multiplot) | 34 if (! gnuplot_has_multiplot) |
35 error ("oneplot: gnuplot does not appear to support this feature"); | 35 error ("oneplot: gnuplot does not appear to support this feature"); |
36 endif | 36 endif |
37 | 37 |
38 global multiplot_mode | 38 global multiplot_mode |
39 | 39 |
40 set nomultiplot; | 40 set nomultiplot; |
41 set size 1, 1; | 41 set size 1, 1; |
42 set origin 0, 0; | 42 set origin 0, 0; |