Re: Asking you how to...
- To: mathgroup at smc.vnet.net
- Subject: [mg19568] Re: Asking you how to...
- From: Manfred Plagmann <m.Plagmann at irl.cri.nz>
- Date: Wed, 1 Sep 1999 23:07:03 -0400
- Organization: Industrial Research Ltd.
- References: <7qfnae$aqf@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
As far as I can recall the function ListPlot3D excepts a list of lists as input. If you organize your data in the form {{dataX0, dataY0, dataZ0(X,Y)}, {dataX1, ...}, ... , {dataXn, dataYn, dataZn(X,Y)}} it should do what you want. Manfred Huberto Closs wrote: > Dear Sir, > > I am having a hard time to find out how to use Mathematica to plot > experimental Physics results which consist of a set of lines with > three measured numbers each, respectively corresponding to > > DataX DataY DataZ[DataX,DataY] > > that is, where DataZ is a measured quantity whose two-dimensional > dependence on variables DataX and DataY should be graphically > displayed through three-dimensional and contour plots of DataZ as a > function of DataX and DataY. Please note, however, that DataX and > DataY are not evenly spaced, so that I cannot just take DataZ as an > array and use ReadList and ListPlot3D or ListContourPlot to draw > graphics showing DataZ dependence on DataX and DataY. > > I am using Mathematica Version 2.2. Please, tell me how to do it. > > Sincerely yours, > > Huberto Closs