Hi Andrew,
>
> I woke up this morning and realised the cause of this. Currently
> test_octave.sh runs all the tests from a single octave process. I
> suspect this is the cause since plrandd is now used in 2 examples (17
> and 21) and so example 21 will give different results now since the
> random number generator will already have been called in example 17.

This sounds reasonable, since the corresponding variables are static.  
Just call

plseed(5489)

in the octave examples before plrandd(), this will set the random  
number generator to the default seed. No need to do this for the other  
bindings as long as a new process is started for every example.

Regards,
Werner

--
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: sme...@iap.tuwien.ac.at
web: http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory)
fax: +43-(0)1-58801-13499


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to