comparison scripts/plot/private/__stem__.m @ 17080:58d3fba6df17

__stem__.m: Fix typo in set() command. * scripts/plot/private/__stem__.m: Add missing "nextplot" argument to set() command.
author Rik <rik@octave.org>
date Thu, 25 Jul 2013 10:42:07 -0700
parents b2cbf369837e
children 87ba70043bfc
comparison
equal deleted inserted replaced
17079:7a67ab7c4771 17080:58d3fba6df17
149 endfor 149 endfor
150 150
151 if (! strcmp (hold_state, "add") && have_z) 151 if (! strcmp (hold_state, "add") && have_z)
152 set (hax, "view", [-37.5 30]); # 3D view 152 set (hax, "view", [-37.5 30]); # 3D view
153 endif 153 endif
154 set (hax, hold_state); 154 set (hax, "nextplot", hold_state);
155 155
156 unwind_protect_cleanup 156 unwind_protect_cleanup
157 if (! isempty (oldfig)) 157 if (! isempty (oldfig))
158 set (0, "currentfigure", oldfig); 158 set (0, "currentfigure", oldfig);
159 endif 159 endif