[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 3D Plot Manipulation
- Subject: Re: 3D Plot Manipulation
- From: "Mark Hadfield" <m.hadfield(at)niwa.cri.nz>
- Date: Fri, 21 Jul 2000 09:35:36 +1200
- Cache-Post-Path: clam-ext!unknown@gust.niwa.cri.nz
- Newsgroups: comp.lang.idl-pvwave
- Organization: NIWA
- References: <3975C909.FA370346@astro.wesleyan.edu> <3975EB39.A280D576@cmdl.noaa.gov> <3975F68E.310C29A1@astro.wesleyan.edu> <964044413.192025@clam-ext> <964048678.156607@clam-ext>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:20353
"Mark Hadfield" <m.hadfield@niwa.cri.nz> wrote in message
964048678.156607@clam-ext">news:964048678.156607@clam-ext...
> Re my previous post, I have tried a few different methods of representing
a
> 3-D cloud of points in object graphics--see the attached .pro file. Having
> one graphics atom per data point is terribly slow if the number of points
> exceeds a few hundred. The best method I have been able to come up with so
> far is to use a single text object with one string per data point. With
this
> method it's feasible to deal with a few thousand points.
I have now written an object specifically for this purpose. It's called an
MGHgrScatterPlot and it represents each data point as a polyline in the x-y
plane, with all the polylines bundled into a single IDLgrPolyline object.
Now I can plot over 10,000 data points reasonably quickly. See
http://katipo.niwa.cri.nz/~hadfield/gust/software/idl/mghgrscatterplot__defi
ne.pro
http://katipo.niwa.cri.nz/~hadfield/gust/software/idl/mgh_example_scatter.pr
o
---
Mark Hadfield
m.hadfield@niwa.cri.nz http://katipo.niwa.cri.nz/~hadfield/
National Institute for Water and Atmospheric Research
PO Box 14-901, Wellington, New Zealand