Re: [R] Creating "Envelope" around a plot

2015-11-05 Thread Greg Snow
Look at the polylineoffset function in the polyclip package. It looks like it does what you are asking for. On Mon, Nov 2, 2015 at 5:33 AM, WRAY NICHOLAS wrote: > Hi I am plotting various strands of information, and I want to create an > "envelope" around each line, so that the locus of the env

Re: [R] Creating "Envelope" around a plot

2015-11-02 Thread Duncan Murdoch
On 02/11/2015 7:33 AM, WRAY NICHOLAS wrote: Hi I am plotting various strands of information, and I want to create an "envelope" around each line, so that the locus of the envelope is the boundary points no more than a fixed maximum distance from the plotted line, a bit like drawing a larger rect

Re: [R] Creating "Envelope" around a plot

2015-11-02 Thread WRAY NICHOLAS
Hi Dennis thanks, but I'd already tried something like this -- the dashed lines are parallel to the original plot vector, and not at a fixed maximal distance to the original vector, where for example they would have curves around the peaks. The boundary line points would only be parallel to the or

[R] Creating "Envelope" around a plot

2015-11-02 Thread WRAY NICHOLAS
Hi I am plotting various strands of information, and I want to create an "envelope" around each line, so that the locus of the envelope is the boundary points no more than a fixed maximum distance from the plotted line, a bit like drawing a larger rectangle with paralle sides and curved compass co