Mercurial > hg > octave-nkf
diff scripts/plot/__fltk_print__.m @ 11120:a44f979a35ce
style fixes for some .m files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 20 Oct 2010 20:49:17 -0400 |
parents | 064aaf82222f |
children | f1a4db353da5 |
line wrap: on
line diff
--- a/scripts/plot/__fltk_print__.m +++ b/scripts/plot/__fltk_print__.m @@ -37,7 +37,7 @@ gl2ps_device = {}; pipeline = {}; - switch lower (opts.devopt) + switch (lower (opts.devopt)) case {"eps", "eps2", "epsc", "epsc2"} ## format GL2PS_EPS gl2ps_device = {"eps"}; @@ -70,11 +70,11 @@ pipeline = {sprintf("cat > %s.%s", name, suffix)}; pipeline{2} = sprintf ("cat > %s.tex", name); endif - case {"tikz"} + case "tikz" ## format GL2PS_PGF gl2ps_device = {"pgf"}; pipeline = {sprintf("cat > %s", opts.name)}; - case {"svg"} + case "svg" ## format GL2PS_SVG gl2ps_device = {"svg"}; pipeline = {sprintf("cat > %s", opts.name)}; @@ -99,7 +99,7 @@ gl2ps_device = {"eps"}; pipeline = {cmd}; endif - case {"aifm"} + case "aifm" cmd = opts.pstoedit_cmd (opts, "ps2ai"); gl2ps_device = {"eps"}; pipeline = {sprintf("%s > %s", cmd, opts.name)};