Mercurial > hg > octave-lyh
comparison scripts/plot/orient.m @ 6046:34f96dd5441b
[project @ 2006-10-10 16:10:25 by jwe]
author | jwe |
---|---|
date | Tue, 10 Oct 2006 16:10:31 +0000 |
parents | c9c773d8333f |
children | 44c91c5dfe1d |
comparison
equal
deleted
inserted
replaced
6045:421d8a903df7 | 6046:34f96dd5441b |
---|---|
40 __print_orientation__ = orientation; | 40 __print_orientation__ = orientation; |
41 else | 41 else |
42 error ("orient: unknown orientation"); | 42 error ("orient: unknown orientation"); |
43 endif | 43 endif |
44 else | 44 else |
45 usage("orient ([\"portrait\"|\"landscape\"]) OR ret = orient ()"); | 45 print_usage (); |
46 endif | 46 endif |
47 | 47 |
48 endfunction | 48 endfunction |
49 | 49 |
50 %!assert(orient,"landscape") # default | 50 %!assert(orient,"landscape") # default |