I am trying to do something I assumed would be simple, but I'm hitting a roadblock and I don't know why. I have the following table:
Kerr = Table[{s[[i]]/m[[i]]^2, m[[i]]}, {i, 1, Length[m]}]
Where s
and m
are one-dimensional arrays of the same length, imported from data files. I'm combining them into the table named Kerr
, and I want to plot that (with s/m^2
on the x axis and m
on the y axis. The table looks like this:
When I try to do ListPlot[Kerr]
, the axes come back empty. I assume I'm doing something fundamentally wrong, but I've no idea what. Any ideas?
Kerr = Table[Flatten@{s[[i]]/m[[i]]^2, m[[i]]}, {i, 1, Length[m]}]; ListPlot[Kerr]
? $\endgroup$