I've been running my script (you can see it here: http://paste.pocoo.org/show/286018/ ) on Ubuntu 10.04 via wine. When I tried to run it on Windows Vista (the same version of Origin: 8 SR3) I discovered some bugs. Now I don't know if they're my fault or Vista's.
1. I load two .dat files that are supposed to be drawn on the same graph. This is the correct output (from Ubuntu):
And here's what I get @Vista:
The problem is that in the second case, the y scale is set to (-1,0) on the second graph instead of (-0.9995, -0.9986). Why? What can I do to prevent it?
2. I run this script through a programmed button with a command "run.file(script.ogs);". I should get a list of files of type .z and I do on Ubuntu but on Vista in my dialog I get a list of files of all types. When I copy the script (Vista) to the script window, select all and run by pressing ENTER, it works properly. How to solve this problem?