Re: [R] textplot() in wordcloud package

2015-03-16 Thread Fraser D. Neiman
f David L Carlson Sent: Monday, March 16, 2015 10:44 AM To: Fraser D. Neiman; r-help@r-project.org Subject: Re: [R] textplot() in wordcloud package You should contact the package maintainer about this. The problem is that the pos= argument is being passed to strwidth() and strheight() and those func

Re: [R] textplot() in wordcloud package

2015-03-16 Thread David L Carlson
f Of David L Carlson Sent: Monday, March 16, 2015 10:44 AM To: Fraser D. Neiman; r-help@r-project.org Subject: Re: [R] textplot() in wordcloud package You should contact the package maintainer about this. The problem is that the pos= argument is being passed to strwidth() and strheight() and t

Re: [R] textplot() in wordcloud package

2015-03-16 Thread David L Carlson
9 PM To: r-help@r-project.org Subject: [R] textplot() in wordcloud package Dear All, The textplot() function in the wordcloud package seem to do a good job with generating non-overlapping labels on a scatter plot. But it throws "warnings" when I try to use the pos= parameter to posi

Re: [R] textplot() in wordcloud package

2015-03-13 Thread Jim Lemon
Hi Fraser, "textplot" is fairly similar to the "thigmophobe.labels" function in plotrix. I think the problem is that when the user passes an explicit position for the labels with the default "new=TRUE" argument, the "pos" argument is passed to the "plot" function, causing the warning. If the "pos"

[R] textplot() in wordcloud package

2015-03-13 Thread Fraser D. Neiman
Dear All, The textplot() function in the wordcloud package seem to do a good job with generating non-overlapping labels on a scatter plot. But it throws "warnings" when I try to use the pos= parameter to position the text labels relative to a given x-y point. Here is a simple example: x<-runi

Re: [R] textplot in layout

2011-10-25 Thread Ben quant
Perfect, thanks! ben On Tue, Oct 25, 2011 at 8:12 AM, Eik Vettorazzi wrote: > Hi Ben, > maybe mtext is of more help here? > > par(mar=c(7,3,3,3)) > plot(year,rate,main='main',sub='sub') > mtext('test',cex=1,side=1,line=5) > box() > > cheers > > Am 25.10.2011 15:26, schrieb Ben quant: > > Hello,

Re: [R] textplot in layout

2011-10-25 Thread Eik Vettorazzi
Hi Ben, maybe mtext is of more help here? par(mar=c(7,3,3,3)) plot(year,rate,main='main',sub='sub') mtext('test',cex=1,side=1,line=5) box() cheers Am 25.10.2011 15:26, schrieb Ben quant: > Hello, > > Someone (Erik) recently posted about putting text on a plot. That thread > didn't help. I'd lik

[R] textplot in layout

2011-10-25 Thread Ben quant
Hello, Someone (Erik) recently posted about putting text on a plot. That thread didn't help. I'd like to put text directly below the 'sub' text (with no gap). The code below is the best I can do. Note the large undesirable gap between 'sub' and 'test'. I'd like the word 'test' to be just below the

Re: [R] textplot

2010-09-27 Thread Tal Galili
Have a look at ?textplot >From the gplots package: http://cran.r-project.org/web/packages/gplots/index.html Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostat

[R] textplot

2010-09-27 Thread trb1
Hi all, Please can you help me to add text to a plot. I would like 5 graphical plots and 1 text plot. I use par(mfrow=c(2,3)) then textplot() I would like to add various pieces of information to the text plot, i.e. some individual values, a table of statistics, some sentences. Is there any ea

[R] Textplot question

2009-08-23 Thread mauede
I have a long list of flags with relative values to print out. If I draw it all on a panel of a (2x2) plot it gets chopped at the bottom. I wonder whether it is possible to plot it on two columns. Something like: Flag1 Value1Flag4 Value4 Flag2 Vauel2Flag5 Value5 Flag3 Value3

Re: [R] textplot() in gplots causes problems (0x9)

2007-11-02 Thread Gregory Warnes
Hi Jonas, You are correct that manually setting cex won't entirely remove the warning messages (note: these are *warnings* not *errors*). It will reduce them greatly, from, perhaps 40, down to 3 or so. Since the tab character won't be properly displayed anyway, you can use gsub or similar

Re: [R] textplot() in gplots causes problems (0x9)

2007-11-01 Thread Jonas Malmros
Dear Gregory and members of R-Help I found what was causing the problem, it was the fact that my R Console window is minimized by me horizontally, and therefore summary output does not fit and gets split, and function capture.output() copies that into PDF! I maximized R Console window so that sum

Re: [R] textplot() in gplots causes problems (0x9)

2007-11-01 Thread Jonas Malmros
Dear Gregory, How can I avoid using tab character when all I want to do is to print a model summary on my pdf device using textplot()? How do I set the font size? If you mean using cex inside textplot, then it does not work. Whether cex is 1 or 0.2 I get the same result, exemplified here: Call: l

Re: [R] textplot() in gplots causes problems (0x9)

2007-11-01 Thread Gregory Warnes
Hi Jonas, By default, textplot() attempts to automatically select a font size that is 'just big enough, but not too big'. It does this by a binary- search approach where it sets a font size, then asks R to compute the actual width of the text to be displayed (without actually displaying it

[R] textplot() in gplots causes problems (0x9)

2007-10-31 Thread Jonas Malmros
Hello, I am using textplot function in gplots package to put some model output inside a PDF file, but it does not seem to work properly with PDF. I am doing follwing: pdf(file="C:/...", paper="a4", width=8, height=12) .model <- lm(.model.formula, data=database) textplot(capture.output(summary(.mo