diff scripts/plot/__plt2__.m @ 7290:7c0a18b10c8e

[project @ 2007-12-11 18:02:06 by jwe]
author jwe
date Tue, 11 Dec 2007 18:02:06 +0000
parents a1dbe9d80eee
children 0dff8d9bf229
line wrap: on
line diff
--- a/scripts/plot/__plt2__.m
+++ b/scripts/plot/__plt2__.m
@@ -51,11 +51,15 @@
   if (isscalar (x1))
     if (isscalar (x2))
       retval = __plt2ss__ (h, x1, x2, options, properties);
+    elseif (isvector (x2))
+      retval = __plt2sv__ (h, x1, x2, options, properties);
     else
       error ("__plt2__: invalid data for plotting");
     endif
   elseif (isvector (x1))
-    if (isvector (x2))
+    if (isscalar (x2))
+      retval = __plt2vs__ (h, x1, x2, options, properties);
+    elseif (isvector (x2))
       retval = __plt2vv__ (h, x1, x2, options, properties);
     elseif (ismatrix (x2))
       retval = __plt2vm__ (h, x1, x2, options, properties);