# HG changeset patch # User Rik # Date 1424450723 28800 # Node ID b254a2e0859c557722df41da98eae3a8053dd79d # Parent 7eff42dd717d41c9c2a3003f934aa454fe965604 plotimages.m: Produce the same hist plot for documentation each time (bug #44263) * plotimages.m: Initialize randn random number generator to known state before generating data for hist plot. diff -r 7eff42dd717d -r b254a2e0859c doc/interpreter/plotimages.m --- a/doc/interpreter/plotimages.m Fri Feb 20 08:13:24 2015 -0800 +++ b/doc/interpreter/plotimages.m Fri Feb 20 08:45:23 2015 -0800 @@ -39,7 +39,7 @@ title ("Simple 2-D Plot"); print ([nm "." typ], d_typ); elseif (strcmp (nm, "hist")) - rand ("state", 2); + randn ("state", 1); hist (randn (10000, 1), 30); xlabel ("Value"); ylabel ("Count");