Assume that I have data in the form:
list = {{{1, 2, 3}, {10, 10, 10}}, {{4, 5, 6}, {20, 20, 20}}}
I want to plot
ListPlot[{Thread[{list[[1, 1]], list[[1, 2]]}],Thread[{list[[2, 1]], list[[2, 2]]}]}]
Are there smarter way doing this?
This
ListPlot[
Table[Thread[{list[[i, 1]], list[[i, 2]]}], {i, 1, Length[list]}]
]
is working. What are the alternatives?
ListPlot[Transpose[list, {1, 3, 2}]]? – J. M.'s missing motivation Jul 09 '15 at 07:57ListPlot[Transpose /@ list]. – Szabolcs Jul 09 '15 at 13:16