Hello all,
I've been stuck on what I presume is a relatively simple problem, but I'm not having much luck. I'm reading in my data in three lists, call them 'x,' 'y,' and 'z.' 'X' has a length of 5 and 'Y' has a length of 20. 'Z' has a length of 100. I'd like to turn this into either an array of 'Z' values (see below) or ordered triples so that I can ListContourPlot the data.
(For the array, I mean take the first 20 Z values and make them one column, the next 20 and make them the next, etc. That way the number shows the Z value of its position and for plotting purposes the axis information is kept.)
If anyone could help me, that would be great. If I wasn't clear enough, ask and I'll try to me more specific.
I'm not at my computer right now so I can't post the code I have. I'll post it when I am on later tonight. Thanks!
I've been stuck on what I presume is a relatively simple problem, but I'm not having much luck. I'm reading in my data in three lists, call them 'x,' 'y,' and 'z.' 'X' has a length of 5 and 'Y' has a length of 20. 'Z' has a length of 100. I'd like to turn this into either an array of 'Z' values (see below) or ordered triples so that I can ListContourPlot the data.
(For the array, I mean take the first 20 Z values and make them one column, the next 20 and make them the next, etc. That way the number shows the Z value of its position and for plotting purposes the axis information is kept.)
If anyone could help me, that would be great. If I wasn't clear enough, ask and I'll try to me more specific.
I'm not at my computer right now so I can't post the code I have. I'll post it when I am on later tonight. Thanks!