Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

fivetoadsloth

macrumors 65816
Original poster
Aug 15, 2006
1,035
0
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!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.