summaryrefslogtreecommitdiff
path: root/inst/io/@svg/plot.m
diff options
context:
space:
mode:
Diffstat (limited to 'inst/io/@svg/plot.m')
-rw-r--r--inst/io/@svg/plot.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/inst/io/@svg/plot.m b/inst/io/@svg/plot.m
index 5b7921b..205d5fd 100644
--- a/inst/io/@svg/plot.m
+++ b/inst/io/@svg/plot.m
@@ -40,7 +40,7 @@ function h = plot(obj, varargin)
for i = 1:npath
x = []; y = [];
- data = obj.Path.(ids(i)).data;
+ data = obj.Path.(ids{i}).data;
for j = 1:numel(data)
x = cat (2, x, polyval (data{j}(1,:),t));