From: <WH...@bf...> - 2004-08-05 07:23:40
|
hi alan, looks interessting. i will try it. The problem i have is a more geographic one. Asume you have samples from all over alaska. now you want to plot the distribution. Clearly you have vast streches with no data (sea, canada), then "clusters" from easy accessable sites that define a minimum resolution and "normal" data. (not exacly my problem but you will get the picture, i hope) regards, walter - - - - - - - - - - - - - - Original Message - - - - - - - - - - - - - - From: Alan W. Irwin <ir...@be...> Subject: Re: [Plplot-general] contour plot question Date: 08/04/04 18:38 On 2004-08-04 17:57+0200 WH...@bf... 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) ? > I may not properly understand your question, but I will try to answer anyway. To transform irregularly spaced data to a uniform grid take a look at http://plplot.sourceforge.net/docbook-manual/plplot-html-5.3.1/plgriddata.html for documentation and http://plplot.sourceforge.net/examples/demo21.php for an example using this function. After you have transformed your data to a uniform grid, then try http://plplot.sourceforge.net/docbook-manual/plplot-html-5.3.1/plcont.html to plot contours. http://plplot.sourceforge.net/examples/demo09.php shows contour examples. If, instead, you simply want to plot a 3D line in 3D perspective, have a look at http://plplot.sourceforge.net/docbook-manual/plplot-html-5.3.1/plline3.html and http://plplot.sourceforge.net/examples/demo18.php. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the PLplot scientific plotting software package (plplot.org), the Yorick front-end to PLplot (yplot.sf.net), the Loads of Linux Links project (loll.sf.net), and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Plplot-general mailing list Plp...@li... https://lists.sourceforge.net/lists/listinfo/plplot-general |