Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: constructing a continuous region from 2D data using

  • To: mathgroup at smc.vnet.net
  • Subject: [mg131403] Re: constructing a continuous region from 2D data using
  • From: ommair at uok.edu.pk
  • Date: Sat, 20 Jul 2013 05:57:33 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net
  • References: <20130717054903.D828E69BD@smc.vnet.net> <ks8301$jo8$1@smc.vnet.net>

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
> 
>



  • Prev by Date: Re: f'[0]=0.5 is True?
  • Next by Date: 3D-like graph of 2D functions
  • Previous by thread: Re: constructing a continuous region from 2D data using interpolation or
  • Next by thread: Re: constructing a continuous region from 2D data using