fix nchoosek example 72/21372/2
Antoine ELIAS [Thu, 20 Feb 2020 13:25:59 +0000 (14:25 +0100)]
Change-Id: I836d44592804fe22a07470d120acffdd3e8a63ca

scilab/modules/elementary_functions/help/en_US/discrete/nchoosek.xml
scilab/modules/helptools/etc/images_md5.txt
scilab/modules/helptools/images/nchoosek_1.png
scilab/modules/helptools/images/nchoosek_2.png
scilab/modules/helptools/images/nchoosek_3.png

index d7fdb73..ffc9fbb 100644 (file)
@@ -373,7 +373,7 @@ set([ax.title ax.x_label ax.y_label ax.z_label], "font_size",4);
 xsetech([0.12 0.11 0.37 0.42]);
 ax = drawCnk(0:1000:1e5);
 ax.sub_ticks = [3 3];
-gce().parent.sub_ticks(2) = 4;
+gce().sub_ticks(2) = 4;
 
 drawnow
    ]]></programlisting>
@@ -402,7 +402,7 @@ function ax= drawCnk(n)
 
     // Color bar
     colorbar();
-    cb = gce().parent;
+    cb = gce();
     cb.y_ticks.labels = msprintf("$\\Large 10^{%s}$\n", cb.y_ticks.labels);
     title(cb,"$C_n^k$", "fontsize",3)
 endfunction
@@ -424,7 +424,7 @@ set([ax.title ax.x_label ax.y_label ax.z_label], "font_size",4);
 xsetech([0.12 0.11 0.37 0.42]);
 ax = drawCnk(0:1000:1e5);
 ax.sub_ticks = [3 3];
-gce().parent.sub_ticks(2) = 4;
+gce().sub_ticks(2) = 4;
 
 drawnow
    ]]></scilab:image>
index 016ada2..321b746 100644 (file)
@@ -866,7 +866,7 @@ mrfit_1.png=d8d3736f01fc8fc707c53508cddd575f
 nanreglin_1.png=a2189dd0a4084c54b9c1e05b45db555b
 nanreglin_2.png=5a3c75b736030778ba4a1717051810cb
 nchoosek_1.png=1f8c615fef042cb5f754a00ef9d8a7bd
-nchoosek_2.png=d59cb2852e6e414d9d14967de0ac3f2b
+nchoosek_2.png=7623d11ae3eafa6fa6eea1546d7710ff
 nchoosek_3.png=f05fd5b52c25f76208d91dc4ca10af2f
 ndgrid_1.png=881b8c6e4e1ccf21fce8004766f2df8d
 ndgrid_2.png=02c9c5b309ed4b25ee57c8b35e6a1fe1
index eea7ddf..c394cde 100644 (file)
Binary files a/scilab/modules/helptools/images/nchoosek_1.png and b/scilab/modules/helptools/images/nchoosek_1.png differ
index 14a2794..2a9ae41 100644 (file)
Binary files a/scilab/modules/helptools/images/nchoosek_2.png and b/scilab/modules/helptools/images/nchoosek_2.png differ
index cf4af1d..751aaa3 100644 (file)
Binary files a/scilab/modules/helptools/images/nchoosek_3.png and b/scilab/modules/helptools/images/nchoosek_3.png differ