Add an image for the meshgrid 40/10640/2
Sylvestre Ledru [Thu, 28 Feb 2013 15:45:21 +0000 (16:45 +0100)]
Change-Id: Ieddd7c108205aa941709498ad59159ac98dea9c2

scilab/modules/elementary_functions/help/en_US/elementarymatrices/meshgrid.xml
scilab/modules/elementary_functions/help/fr_FR/elementarymatrices/meshgrid.xml
scilab/modules/elementary_functions/help/ja_JP/elementarymatrices/meshgrid.xml
scilab/modules/elementary_functions/help/pt_BR/elementarymatrices/meshgrid.xml
scilab/modules/elementary_functions/help/ru_RU/elementarymatrices/meshgrid.xml
scilab/modules/helptools/images/meshgrid_1.png [new file with mode: 0644]

index 3a6d0a4..f6c5a0f 100644 (file)
@@ -61,6 +61,20 @@ end
 
 surf(X,Y,Z)
  ]]></programlisting>
+<scilab:image>
+x = -1:0.1:1;
+y = -1:0.1:1;
+
+[X,Y] = meshgrid(x,y);
+
+for i=1:size(X,1)
+  for j=1:size(X,2)
+    Z(i,j) = sinc(2*%pi*X(i,j)*Y(i,j));
+  end
+end
+
+surf(X,Y,Z)
+</scilab:image>
     </refsection>
     <refsection role="see also">
         <title>See Also</title>
index 8e1298e..77fec06 100644 (file)
@@ -51,6 +51,20 @@ end
 
 surf(X,Y,Z)
  ]]></programlisting>
+<scilab:image>
+x = -1:0.1:1;
+y = -1:0.1:1;
+
+[X,Y] = meshgrid(x,y);
+
+for i=1:size(X,1)
+  for j=1:size(X,2)
+    Z(i,j) = sinc(2*%pi*X(i,j)*Y(i,j));
+  end
+end
+
+surf(X,Y,Z)
+</scilab:image>
     </refsection>
     <refsection role="see also">
         <title>Voir aussi</title>
index 9fbe921..157669b 100644 (file)
@@ -62,6 +62,20 @@ end
 
 surf(X,Y,Z)
  ]]></programlisting>
+<scilab:image>
+x = -1:0.1:1;
+y = -1:0.1:1;
+
+[X,Y] = meshgrid(x,y);
+
+for i=1:size(X,1)
+  for j=1:size(X,2)
+    Z(i,j) = sinc(2*%pi*X(i,j)*Y(i,j));
+  end
+end
+
+surf(X,Y,Z)
+</scilab:image>
     </refsection>
     <refsection role="see also">
         <title>参照</title>
index 154404e..b445978 100644 (file)
@@ -61,6 +61,20 @@ end
 
 surf(X,Y,Z)
  ]]></programlisting>
+<scilab:image>
+x = -1:0.1:1;
+y = -1:0.1:1;
+
+[X,Y] = meshgrid(x,y);
+
+for i=1:size(X,1)
+  for j=1:size(X,2)
+    Z(i,j) = sinc(2*%pi*X(i,j)*Y(i,j));
+  end
+end
+
+surf(X,Y,Z)
+</scilab:image>
     </refsection>
     <refsection role="see also">
         <title>Ver Também</title>
index 04183b1..6b61b36 100644 (file)
@@ -62,6 +62,20 @@ end
  
 surf(X,Y,Z)
  ]]></programlisting>
+<scilab:image>
+x = -1:0.1:1;
+y = -1:0.1:1;
+
+[X,Y] = meshgrid(x,y);
+
+for i=1:size(X,1)
+  for j=1:size(X,2)
+    Z(i,j) = sinc(2*%pi*X(i,j)*Y(i,j));
+  end
+end
+
+surf(X,Y,Z)
+</scilab:image>
     </refsection>
     <refsection role="see also">
         <title>Смотрите также</title>
diff --git a/scilab/modules/helptools/images/meshgrid_1.png b/scilab/modules/helptools/images/meshgrid_1.png
new file mode 100644 (file)
index 0000000..05f84dd
Binary files /dev/null and b/scilab/modules/helptools/images/meshgrid_1.png differ