diff scripts/plot/private/__patch__.m @ 10524:1c6ff93c025a

Reimplement the other discrete distribution functions using lookup
author David Bateman <dbateman@free.fr>
date Thu, 15 Apr 2010 23:40:30 +0200
parents 1aeb39118764
children 95c3e38098bf
line wrap: on
line diff
--- a/scripts/plot/private/__patch__.m
+++ b/scripts/plot/private/__patch__.m
@@ -306,7 +306,7 @@
   if (! recursive)
     recursive = true;
     f = get (h);
-    if (isfvc)
+    if (isfv)
       set (h, setvertexdata ([fieldnames(f), struct2cell(f)].'(:)){:});
     else
       set (h, setdata ([fieldnames(f), struct2cell(f)].'(:)){:});