Mercurial > hg > octave-lyh
comparison scripts/plot/private/__print_parse_opts__.m @ 14872:c2dbdeaa25df
maint: use rows() and columns() to clarify m-files.
* gradient.m, interp1q.m, rat.m, tsearchn.m, image.m, imwrite.m, area.m,
contourc.m, hist.m, isocolors.m, isonormals.m, meshz.m, print.m, __bar__.m,
__go_draw_axes__.m, __interp_cube__.m, __marching_cube__.m, __patch__.m,
__print_parse_opts__.m, __quiver__.m, rose.m, shrinkfaces.m, stairs.m,
surfnorm.m, tetramesh.m, text.m, deconv.m, spline.m, intersect.m, setdiff.m,
setxor.m, union.m, periodogram.m, pcg.m, perms.m: Replace size (x,1) with
rows (x) and size(x,2) with columns(x).
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Tue, 17 Jul 2012 13:34:19 -0700 |
parents | 5d3a684236b0 |
children | f3b5cadfd6d5 |
comparison
equal
deleted
inserted
replaced
14871:26c4ca9782b0 | 14872:c2dbdeaa25df |
---|---|
567 | 567 |
568 ## FIXME - This will be obsoleted by listeners for paper properties. | 568 ## FIXME - This will be obsoleted by listeners for paper properties. |
569 ## Papersize is tall when portrait,and wide when landscape. | 569 ## Papersize is tall when portrait,and wide when landscape. |
570 if ((papersize(1) > papersize(2) && strcmpi (paperorientation, "portrait")) | 570 if ((papersize(1) > papersize(2) && strcmpi (paperorientation, "portrait")) |
571 || (papersize(1) < papersize(2) && strcmpi (paperorientation, "landscape"))) | 571 || (papersize(1) < papersize(2) && strcmpi (paperorientation, "landscape"))) |
572 papersize = papersize ([2,1]); | 572 papersize = papersize([2,1]); |
573 paperposition = paperposition([2,1,4,3]); | 573 paperposition = paperposition([2,1,4,3]); |
574 endif | 574 endif |
575 | 575 |
576 if ((! strcmp (papertype, "<custom>")) && (strcmp (paperorientation, "portrait"))) | 576 if ((! strcmp (papertype, "<custom>")) && (strcmp (paperorientation, "portrait"))) |
577 ## For portrait use the ghostscript name | 577 ## For portrait use the ghostscript name |