Mercurial > octave-nkf
comparison scripts/plot/subplot.m @ 12132:dc11166fcddc
subplot.m: Set "box" to "on" by default (same as Matlab).
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Sat, 22 Jan 2011 13:29:43 -0500 |
parents | b0084095098e |
children | 7b67bbf9dbbb |
comparison
equal
deleted
inserted
replaced
12131:da9afc5c4cfb | 12132:dc11166fcddc |
---|---|
163 set (cf, "currentaxes", tmp); | 163 set (cf, "currentaxes", tmp); |
164 else | 164 else |
165 pos = subplot_position (rows, cols, index, "outerposition", units); | 165 pos = subplot_position (rows, cols, index, "outerposition", units); |
166 pos2 = subplot_position (rows, cols, index, "position", units); | 166 pos2 = subplot_position (rows, cols, index, "position", units); |
167 tmp = axes ("outerposition", pos, "position", pos2, | 167 tmp = axes ("outerposition", pos, "position", pos2, |
168 "activepositionproperty", "outerposition"); | 168 "activepositionproperty", "outerposition", |
169 "box", "off"); | |
169 endif | 170 endif |
170 | 171 |
171 if (align_axes && strcmp (get (cf, "__graphics_toolkit__"), "gnuplot")) | 172 if (align_axes && strcmp (get (cf, "__graphics_toolkit__"), "gnuplot")) |
172 set (tmp, "activepositionproperty", "position"); | 173 set (tmp, "activepositionproperty", "position"); |
173 endif | 174 endif |