[doc] plot() updated images: complement to 52e864 35/20635/4
Samuel GOUGEON [Sat, 24 Nov 2018 03:56:25 +0000 (04:56 +0100)]
  New images forgotten in https://codereview.scilab.org/20470

Change-Id: I9ac113e0f2ffd6b91a4fbcdd3d2ca2ea364fc66e

17 files changed:
scilab/modules/graphics/macros/plot.sci
scilab/modules/helptools/images/plot_1.png
scilab/modules/helptools/images/plot_10.png [deleted file]
scilab/modules/helptools/images/plot_11.png [deleted file]
scilab/modules/helptools/images/plot_12.png [deleted file]
scilab/modules/helptools/images/plot_13.png [deleted file]
scilab/modules/helptools/images/plot_14.png [deleted file]
scilab/modules/helptools/images/plot_15.png [deleted file]
scilab/modules/helptools/images/plot_16.png [deleted file]
scilab/modules/helptools/images/plot_2.png
scilab/modules/helptools/images/plot_3.png
scilab/modules/helptools/images/plot_4.png
scilab/modules/helptools/images/plot_5.png
scilab/modules/helptools/images/plot_6.png
scilab/modules/helptools/images/plot_7.png
scilab/modules/helptools/images/plot_8.png
scilab/modules/helptools/images/plot_9.png

index c5116ad..4d661ba 100644 (file)
@@ -72,7 +72,7 @@ function plot(varargin)
         acceptedTypes=[];
         // double, macro function or primitive,
         //    or list(macro|primitive, params) accepted as second argument
-        acceptedTypes=find(Ttmp(i,1)==1 & or(Ttmp(i+1,1)==[1,13,130,15])) 
+        acceptedTypes=find(Ttmp(i,1)==1 & or(Ttmp(i+1,1)==[1,13,130,15]))
         if (acceptedTypes<>[]) then
             couple=[couple i];
             Ttmp(i,1)  = 99; // Replace a known type by 99 (no meaning) to count it once only!
@@ -230,7 +230,7 @@ function plot(varargin)
                     s1 = min(3,sizefirstarg(1,1))
                     s2 = min(3,sizefirstarg(1,2))
                     tmp = buildFunc(firstarg(1:s1,1:s2), params(:))
-                    isvectorized = and(size(tmp)==[s1 s2]);
+                    isvectorized = and(size(tmp)==[s1 s2])  | size(tmp,1)==s1*s2;;
                 catch
                     isvectorized = %f;
                 end
index d527eb0..6cdc634 100644 (file)
Binary files a/scilab/modules/helptools/images/plot_1.png and b/scilab/modules/helptools/images/plot_1.png differ
diff --git a/scilab/modules/helptools/images/plot_10.png b/scilab/modules/helptools/images/plot_10.png
deleted file mode 100644 (file)
index b97feb6..0000000
Binary files a/scilab/modules/helptools/images/plot_10.png and /dev/null differ
diff --git a/scilab/modules/helptools/images/plot_11.png b/scilab/modules/helptools/images/plot_11.png
deleted file mode 100644 (file)
index d236482..0000000
Binary files a/scilab/modules/helptools/images/plot_11.png and /dev/null differ
diff --git a/scilab/modules/helptools/images/plot_12.png b/scilab/modules/helptools/images/plot_12.png
deleted file mode 100644 (file)
index 0e3e9f4..0000000
Binary files a/scilab/modules/helptools/images/plot_12.png and /dev/null differ
diff --git a/scilab/modules/helptools/images/plot_13.png b/scilab/modules/helptools/images/plot_13.png
deleted file mode 100644 (file)
index c4198b7..0000000
Binary files a/scilab/modules/helptools/images/plot_13.png and /dev/null differ
diff --git a/scilab/modules/helptools/images/plot_14.png b/scilab/modules/helptools/images/plot_14.png
deleted file mode 100644 (file)
index 562a88f..0000000
Binary files a/scilab/modules/helptools/images/plot_14.png and /dev/null differ
diff --git a/scilab/modules/helptools/images/plot_15.png b/scilab/modules/helptools/images/plot_15.png
deleted file mode 100644 (file)
index 03f57cb..0000000
Binary files a/scilab/modules/helptools/images/plot_15.png and /dev/null differ
diff --git a/scilab/modules/helptools/images/plot_16.png b/scilab/modules/helptools/images/plot_16.png
deleted file mode 100644 (file)
index a434558..0000000
Binary files a/scilab/modules/helptools/images/plot_16.png and /dev/null differ
index 8753bf7..d05400f 100644 (file)
Binary files a/scilab/modules/helptools/images/plot_2.png and b/scilab/modules/helptools/images/plot_2.png differ
index 7ff317d..a384a36 100644 (file)
Binary files a/scilab/modules/helptools/images/plot_3.png and b/scilab/modules/helptools/images/plot_3.png differ
index f400c1b..873c4a9 100644 (file)
Binary files a/scilab/modules/helptools/images/plot_4.png and b/scilab/modules/helptools/images/plot_4.png differ
index a87bf22..a7a2301 100644 (file)
Binary files a/scilab/modules/helptools/images/plot_5.png and b/scilab/modules/helptools/images/plot_5.png differ
index 441e53f..a536017 100644 (file)
Binary files a/scilab/modules/helptools/images/plot_6.png and b/scilab/modules/helptools/images/plot_6.png differ
index 29d553f..25d6b2b 100644 (file)
Binary files a/scilab/modules/helptools/images/plot_7.png and b/scilab/modules/helptools/images/plot_7.png differ
index 8fee128..ae1db5c 100644 (file)
Binary files a/scilab/modules/helptools/images/plot_8.png and b/scilab/modules/helptools/images/plot_8.png differ
index c2c3bc1..f1ca950 100644 (file)
Binary files a/scilab/modules/helptools/images/plot_9.png and b/scilab/modules/helptools/images/plot_9.png differ