T O P I C R E V I E W |
is239 |
Posted - 09/23/2003 : 09:48:36 AM Hello,
In Origin7 i've imported an ascii table, sort of that:
660 276.38298 2.8867E7 49.421 662 277.59266 2.8877E7 49.421 664 276.65577 2.88605E7 49.494 666 276.13677 2.88585E7 49.494 668 275.90671 2.8866E7 49.567 670 276.81903 2.8857E7 49.567 672 t a b t a b t a b 0.51364 2.8868E7 49.76775 670 t a b t a b t a b 275.70519 2.8869E7 49.713 668 t a b t a b t a b 276.0369 2.88625E7 49.713 666 t a b t a b t a b 274.69407 2.88635E7 49.786 664 t a b t a b t a b 275.96704 2.88545E7 49.786 662 t a b t a b t a b 274.62397 2.8859E7 49.786
It's imported, well, and all seven columns have type "Text&Numeric". When I try to plot, f.e., col 2 and 5 vs col 1, I failure: col 2 vs col1 is drawn properly, while col 5 vs col1 is not drawn correctly. I try elucidate the reason of that and go to the worksheet and see there that cols 4 and 5 after they were used for plotting aren't "Text&Numeric" any more, there have the type "text"!
But, if I'll copy the imported data to the buffer, and then shall paste them to the worksheet then everything will be OK.
These problem seriously prevents execution of my labtalk routine.
Would anybody advice me something?
Cheers.
Edited by - is239 on 09/23/2003 09:51:22 AM |
1 L A T E S T R E P L I E S (Newest First) |
Mike Buess |
Posted - 09/23/2003 : 10:16:39 AM One possibility is to start your LabTalk routine with this...
loop (i,1,wks.ncols) { wks.col$(i).format=7; };
That changes all columns to text & numeric.
Mike Buess Origin WebRing Member |
|
|