- #1
TwoSeat
- 4
- 0
I am importing data as a .dat file into Mathematica and making a list plot. I need to know: a)How to sort the words out of my data? I used to use AllNumeric but that went away with version 6
b)How to switch the axis on my graph? My data is coming in as a pair sequence {1#`,2#`} but I need it to be {2#`,1#`} Or I need to know how to rotate my plotting sequence so it will flip.
This is the code I am using
data=Import["Test2.dat","Data"];
b=Drop[data,5]; %This just removes the header from my data file
ListPlot
b)How to switch the axis on my graph? My data is coming in as a pair sequence {1#`,2#`} but I need it to be {2#`,1#`} Or I need to know how to rotate my plotting sequence so it will flip.
This is the code I am using
data=Import["Test2.dat","Data"];
b=Drop[data,5]; %This just removes the header from my data file
ListPlot