Skip to content

Commit ccaf5df

Browse files
committed
Use old get/set instead of direct access for compatability with older versions
1 parent 4994b98 commit ccaf5df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ternplot_pro.m

+3-3
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@
7272
set(cax,'NextPlot',next);
7373
end
7474
view(0, 90);
75-
h.FaceColor = 'none';
76-
v = h.Vertices;
77-
f = h.Faces;
75+
set(h, 'FaceColor', 'none');
76+
v = get(h, 'Vertices');
77+
f = get(h, 'Faces');
7878
close(h0)
7979
clear fA fB fC x y N Ag Bg Ar Br xg yg hold_state cax next
8080
%%%%

0 commit comments

Comments
 (0)