Re: [R] Pointing to a specific place on the x-axis with an arrow

2010-10-06 Thread David Reiner
-project.org] On Behalf Of David Winsemius Sent: Wednesday, October 06, 2010 9:05 AM To: Josh B Cc: R Help Subject: Re: [R] Pointing to a specific place on the x-axis with an arrow On Oct 6, 2010, at 9:03 AM, Josh B wrote: > Dear Michael, > > Thanks very much. I have a follow-up question

Re: [R] Pointing to a specific place on the x-axis with an arrow

2010-10-06 Thread David Winsemius
From: Michael Bedward Cc: R Help Sent: Wed, October 6, 2010 5:09:48 AM Subject: Re: [R] Pointing to a specific place on the x-axis with an arrow Hi Josh, Try this... mtext(expression(symbol("\255")), side=1, line=0, at=7) Michael Hi all, I am trying to do something simple, bu

Re: [R] Pointing to a specific place on the x-axis with an arrow

2010-10-06 Thread Josh B
Dear Michael, Thanks very much. I have a follow-up question: how did you know that symbol 255 is the up-arrow? Josh From: Michael Bedward Cc: R Help Sent: Wed, October 6, 2010 5:09:48 AM Subject: Re: [R] Pointing to a specific place on the x-axis with an

Re: [R] Pointing to a specific place on the x-axis with an arrow

2010-10-06 Thread Ivan Calandra
Thanks for the great example and explanation! Ivan Le 10/6/2010 15:06, Barry Rowlingson a écrit : > On Wed, Oct 6, 2010 at 12:29 PM, Ivan Calandra > wrote: >> Hi again, >> >> Just one little question. I don't understand what "clipping" is. >> Probably a problem with English... >> Therefore t

Re: [R] Pointing to a specific place on the x-axis with an arrow

2010-10-06 Thread Barry Rowlingson
On Wed, Oct 6, 2010 at 12:29 PM, Ivan Calandra wrote: >  Hi again, > > Just one little question. I don't understand what "clipping" is. > Probably a problem with English... > Therefore the par(xpd=NA) is not really clear for me; nor is the clip() > function. And I don't see any difference between

Re: [R] Pointing to a specific place on the x-axis with an arrow

2010-10-06 Thread Ivan Calandra
Hi again, Just one little question. I don't understand what "clipping" is. Probably a problem with English... Therefore the par(xpd=NA) is not really clear for me; nor is the clip() function. And I don't see any difference between par(xpd=NA) and nothing. It's not really related to this post,

Re: [R] Pointing to a specific place on the x-axis with an arrow

2010-10-06 Thread Barry Rowlingson
On Wed, Oct 6, 2010 at 11:04 AM, Michael Bedward wrote: > On 6 October 2010 20:51, Ivan Calandra wrote: >> >> Moreover, Josh wanted the arrow to be really big. Is it possible to make >> it bigger? I would be interested too! >> > > Sorry - missed that bit. You can use the cex argument of the mtext

Re: [R] Pointing to a specific place on the x-axis with an arrow

2010-10-06 Thread Michael Bedward
On 6 October 2010 20:51, Ivan Calandra wrote: > > Moreover, Josh wanted the arrow to be really big. Is it possible to make > it bigger? I would be interested too! > Sorry - missed that bit. You can use the cex argument of the mtext function to make the symbol bigger. Michael ___

Re: [R] Pointing to a specific place on the x-axis with an arrow

2010-10-06 Thread David Winsemius
On Oct 6, 2010, at 5:09 AM, Michael Bedward wrote: Hi Josh, Try this... mtext(expression(symbol("\255")), side=1, line=0, at=7) For both Rowlingsons's and Bedward's solutions the request for "as large as possible" can be addressed with cex = 5 or some more suitable value. -- David.

Re: [R] Pointing to a specific place on the x-axis with an arrow

2010-10-06 Thread Michael Bedward
Hi Ivan, The help page for plotmath has a list of symbol names such as the one Barry suggested, and in the References section there is a URL (the auckland.ac.nz one) for a table of symbols and their numeric codes. Michael On 6 October 2010 20:51, Ivan Calandra wrote: >  Hi Michael, > > I'm just

Re: [R] Pointing to a specific place on the x-axis with an arrow

2010-10-06 Thread Ivan Calandra
Hi Michael, I'm just curious if you know about a list somewhere where I can find the number of a specific symbol. What I mean, with your example, is how to find that an arrow corresponds to "\255". Moreover, Josh wanted the arrow to be really big. Is it possible to make it bigger? I would be

Re: [R] Pointing to a specific place on the x-axis with an arrow

2010-10-06 Thread Michael Bedward
Hi Josh, Try this... mtext(expression(symbol("\255")), side=1, line=0, at=7) Michael On 6 October 2010 11:45, Josh B wrote: > Hi all, > > I am trying to do something simple, but which is deviling me. I want to add an > up-arrow to the x-axis, pointing to a specific location on the axis. I wan

Re: [R] Pointing to a specific place on the x-axis with an arrow

2010-10-06 Thread Barry Rowlingson
On Wed, Oct 6, 2010 at 1:45 AM, Josh B wrote: > Hi all, > > I am trying to do something simple, but which is deviling me. I want to add an > up-arrow to the x-axis, pointing to a specific location on the axis. I want > the > arrow to be as large as possible. > > Here is where I'm at with my code:

[R] Pointing to a specific place on the x-axis with an arrow

2010-10-06 Thread Josh B
Hi all, I am trying to do something simple, but which is deviling me. I want to add an up-arrow to the x-axis, pointing to a specific location on the axis. I want the arrow to be as large as possible. Here is where I'm at with my code: #this part if from the ?plot example: require(stats) plot(