Hi, I get weird results with the matrix -ps X xmin xmax; matrix -ps Y ymin ymax; commands (V6.1). Most of the times only the min-value is set (or the values are mixed up completely). Is this a known bug, or am I just too stupid to code?
This is a known bug. When executing the LabTalk commands:
matrix -ps X xmin xmax; matrix -ps Y ymin ymax;
or importing matrix data (into a matrix), the xmin, xmax, ymin, and ymax values are actually set correctly internally, but do not display correctly in the Matrix Dimensions dialog (as seen by selecting Matrix : Set Dimensions). Furthermore, if you click OK in the Matrix Dimensions dialog, the incorrect values the dialog displayed become the actual values for plotting.
This bug has been corrected in Origin 7.
Please note that you can still plot the data normally in earlier versions (i.e. with the correct dimensions as set with your LabTalk commands) as long as you don't click the OK button in the Matrix Dimensions dialog.