Mercurial > octave
changeset 24838:08a591a59a95
plot3.m: Fix bug introduced in cset d55e100aebc9.
* plot3.m: Initialize possible output variable htmp at the top of the function.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 05 Mar 2018 15:18:20 -0800 |
parents | ae6679369a80 |
children | 55021b03884d |
files | scripts/plot/draw/plot3.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/draw/plot3.m Sun Mar 04 22:01:00 2018 +0100 +++ b/scripts/plot/draw/plot3.m Mon Mar 05 15:18:20 2018 -0800 @@ -124,6 +124,7 @@ properties = {}; tlgnd = {}; hlgnd = []; + htmp = []; idx = 0; ## Gather arguments, decode format, and plot lines. @@ -331,7 +332,6 @@ options = __default_plot_options__ (); - htmp = []; for i = 1 : columns (x) linestyle = options.linestyle; marker = options.marker;