comparison scripts/plot/plotyy.m @ 10931:a72d53df4fa6

Treatment of activepositionproperty for gnuplot.
author Ben Abbott <bpabbott@mac.com>
date Tue, 31 Aug 2010 13:23:50 -0400
parents c0434971d0a8
children 6b50fd2d4ca6
comparison
equal deleted inserted replaced
10930:b0f2b9a2b681 10931:a72d53df4fa6
110 ## Only change back to the old axis if we didn't delete it 110 ## Only change back to the old axis if we didn't delete it
111 if (ishandle(oldh) && strcmp (get (oldh, "type"), "axes")) 111 if (ishandle(oldh) && strcmp (get (oldh, "type"), "axes"))
112 axes (oldh); 112 axes (oldh);
113 endif 113 endif
114 end_unwind_protect 114 end_unwind_protect
115
116 set (ax, "activepositionproperty", "position")
115 117
116 if (nargout > 0) 118 if (nargout > 0)
117 Ax = ax; 119 Ax = ax;
118 H1 = h1; 120 H1 = h1;
119 H2 = h2; 121 H2 = h2;