Mercurial > hg > octave-lyh
comparison scripts/plot/top_title.m @ 1557:c694fe5956e3
[project @ 1995-10-12 00:32:20 by jwe]
author | jwe |
---|---|
date | Thu, 12 Oct 1995 00:34:40 +0000 |
parents | 749b8b19733f |
children | 5d29638dd524 |
comparison
equal
deleted
inserted
replaced
1556:d508e2cab748 | 1557:c694fe5956e3 |
---|---|
31 if (nargin != 1) | 31 if (nargin != 1) |
32 usage ("top_title (text)"); | 32 usage ("top_title (text)"); |
33 endif | 33 endif |
34 | 34 |
35 if (isstr (text)) | 35 if (isstr (text)) |
36 set bottom_title | 36 set bottom_title; |
37 set title | 37 set title; |
38 eval (sprintf ("set top_title \"%s\"", text)); | 38 eval (sprintf ("set top_title \"%s\"", text)); |
39 else | 39 else |
40 error ("error: top_title: text must be a string"); | 40 error ("error: top_title: text must be a string"); |
41 endif | 41 endif |
42 | 42 |