Re: [R] Testing for blank space in a plot

2009-01-14 Thread Ben Bolker
Jim Lemon bitwrit.com.au> writes: > There is an even snazzier empty space function, > but I keep forgetting which package it is in... > > Jim pointLabel, in the maptools package (by Tom Short), uses simulated annealing or a genetic algorithm to try to find optimal text placements. Ben Bol

Re: [R] Testing for blank space in a plot

2009-01-14 Thread Jim Lemon
John Fort wrote: I have written code which puts text to the upper right of points on a plot. Some of my point are very close together and the new text is writing over the previous text. Has anyone written a clever "smart-text" function that writes the text in a blank spot near the point

Re: [R] Testing for blank space in a plot

2009-01-13 Thread Gabor Grothendieck
See ?emptyspace in the plotrix package. On Tue, Jan 13, 2009 at 5:02 PM, John Fort wrote: > I have written code which puts text to the upper right of points on a plot. > Some of my point are very close together and the new text is writing over > the previous text. > > Has anyone written a clev

[R] Testing for blank space in a plot

2009-01-13 Thread John Fort
I have written code which puts text to the upper right of points on a plot. Some of my point are very close together and the new text is writing over the previous text. Has anyone written a clever "smart-text" function that writes the text in a blank spot near the point (perhaps on the