changeset 13018:ca08ddb1c06a stable

__print_parse_opts__.m: Properly convert from cm to pts (bug #34152).
author Ben Abbott <bpabbott@mac.com>
date Sun, 28 Aug 2011 21:17:55 -0400
parents aaf6fbb2512f
children 1653d3a86fca
files scripts/plot/__print_parse_opts__.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/__print_parse_opts__.m
+++ b/scripts/plot/__print_parse_opts__.m
@@ -569,7 +569,7 @@
     case "inches"
       value = value * 72;
     case "centimeters"
-      value = value * 72 / 25.4;
+      value = value * 72 / 2.54;
     case "normalized"
       error ("print:customnormalized",
              "print.m: papersize=='<custom>' and paperunits='normalized' may not be combined");