Mercurial > hg > octave-lyh
comparison scripts/plot/subplot.m @ 10931:a72d53df4fa6
Treatment of activepositionproperty for gnuplot.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Tue, 31 Aug 2010 13:23:50 -0400 |
parents | 693e22af08ae |
children | fe3c3dfc07eb |
comparison
equal
deleted
inserted
replaced
10930:b0f2b9a2b681 | 10931:a72d53df4fa6 |
---|---|
149 if (found) | 149 if (found) |
150 set (cf, "currentaxes", tmp); | 150 set (cf, "currentaxes", tmp); |
151 else | 151 else |
152 pos = subplot_position (rows, columns, index, "outerposition", units); | 152 pos = subplot_position (rows, columns, index, "outerposition", units); |
153 pos2 = subplot_position (rows, columns, index, "position", units); | 153 pos2 = subplot_position (rows, columns, index, "position", units); |
154 tmp = axes ("outerposition", pos, "position", pos2); | 154 tmp = axes ("outerposition", pos, |
155 "position", pos2, | |
156 "activepositionproperty", "position"); | |
155 endif | 157 endif |
156 | 158 |
157 unwind_protect_cleanup | 159 unwind_protect_cleanup |
158 set (0, "defaultaxesunits", units); | 160 set (0, "defaultaxesunits", units); |
159 end_unwind_protect | 161 end_unwind_protect |