Mathematica Asked on July 30, 2021
I am havings data set with 6 coloums and I am trying to plot two coloumns out of 6, but my axis are getting swapped.
This is what I am trying
Clear [Data]
$TextStyle = {FontWeight -> "Bold", Font -> "Arial", FontSize [RightArrow] 12};
Data = Transpose[Import["21.csv"]];
Ampvsf0 = Transpose[Union [{Data[[1]]}, {Data[[2]]}]]
graph = ListPlot[Ampvsf0]
Here is the data file 21.csv
Clear[Data]
$TextStyle = {FontWeight -> "Bold", Font -> "Arial", FontSize -> 12};
Import the data without transposing it.
Data = Import["/Users/roberthanlon/Downloads/21.csv"];
Extract the first two columns
Ampvsf0 = Data[[All, 1 ;; 2]] // Union;
graph = ListPlot[Ampvsf0]
Correct answer by Bob Hanlon on July 30, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP