Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15200
| From | ommair@uok.edu.pk |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: constructing a continuous region from 2D data using |
| Date | 2013-07-20 09:50 +0000 |
| Message-ID | <ksdmgt$4v6$1@smc.vnet.net> (permalink) |
| References | <20130717054903.D828E69BD@smc.vnet.net> <ks8301$jo8$1@smc.vnet.net> |
| Organization | Time-Warner Telecom |
Dear Bob,
What if I want to create more data points to fill the gap between these points so that image represent like continuous region with some boundary.
>
> Needs["ComputationalGeometry`"]
>
>
>
>
>
> ch = ConvexHull[data];
>
>
>
>
>
> Graphics[{
>
> LightBlue, Polygon[data[[ch]]],
>
> Red, AbsolutePointSize[3], Point[data]},
>
> AspectRatio -> 1/GoldenRatio, Frame -> True]
>
>
>
>
>
> ListLinePlot[data[[Append[ch, ch[[1]]]]],
>
> PlotStyle -> Directive[Blue, Thick],
>
> Frame -> True, Axes -> False,
>
> Epilog -> {Red, AbsolutePointSize[3], Point[data]}]
>
>
>
>
>
>
>
> Bob Hanlon
>
>
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: constructing a continuous region from 2D data using Bob Hanlon <hanlonr357@gmail.com> - 2013-07-18 06:46 +0000 Re: constructing a continuous region from 2D data using ommair@uok.edu.pk - 2013-07-20 09:50 +0000
csiph-web