1

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?

newandlost
  • 239
  • 1
  • 5

0 Answers0