From: <WH...@bf...> - 2004-08-10 08:35:37
|
Hi arjen, thx for reply. plpoin3() displays a 3D cloud. so far i understand i need a function function that takes: unordered ( pos (x,y)+ value) -> value=z[x'][y'] (ordered) I had the implession that plgriddata() will do exacty that. i have a simple example programm of the problem (not working) can i post this to the ml as explanation what i am looking for ? regards, walter - - - - - - - - - - - - - - Original Message - - - - - - - - - - - - - - From: Arjen Markus <arj...@wl...> Subject: Re: [Plplot-general] contour plot question Date: 08/10/04 10:02 " (Walter Harms)" wrote: > > hi list, > i am looking for a way to plot isolines. so far i understand > is the way plpoin3(). therefor you need z[x][y]. the problem > is i have data for x=0...6000,y=0...9000. a simple field would > become very expensive exspecialy if i have only 2500 point in total (uneven distributed). > > Is there a way to plot a "3D field" like plploin(N,x,y,z) ? > > regards, > walter > > In addition to Alan's reply, the need for array elements z[x][y] does not necessarily mean that you need data for every integral value of x and y, as you seem to imply. plpoin3() expects individual points (x[i],y[i],z[i]) (i=0,...,N). You may want to look at plcont() for filled contours for instance, which takes a matrix z[nx][ny]. Regards, Arjen |