Re: [R] labeling abscissa using a function of the plotted scale

2013-10-24 Thread David Winsemius
On Oct 24, 2013, at 3:56 PM, Hurr wrote: > Thanks David, did I use incorrect english to call "e" a > formula or function? Incorrect R terminology. A function in R is a specific sort of object and a formula is a different sort of object. R terminology for the use of "labels = 1/xvalue" inside

Re: [R] labeling abscissa using a function of the plotted scale

2013-10-24 Thread Hurr
Thanks David, did I use incorrect english to call "labels = 1/xvalue" a formula or function? Seems to me an obvious first try would be to place the labels where they would have been placed without the formula. I haven't yet, but I will study from your suggestions. -- View this message in conte

Re: [R] labeling abscissa using a function of the plotted scale

2013-10-24 Thread Jim Lemon
On 10/25/2013 01:00 AM, Hurr wrote: Thanks Jim, maybe now I can start learning. Here is a run of my trying to learn: xvalue<-c(5.2,1.3,9.7,2.8,8.1,4.7,6.6,7.4) yvalue<-c(9,3,4,7,2,5,3,6) plot(xvalue,yvalue) axis(1,at=NULL,labels=1/xvalue,digits=5) Error in axis(1, at = NULL, labels = 1/xvalue,

Re: [R] labeling abscissa using a function of the plotted scale

2013-10-24 Thread David Winsemius
On Oct 24, 2013, at 7:00 AM, Hurr wrote: > Thanks Jim, maybe now I can start learning. > Here is a run of my trying to learn: >> xvalue<-c(5.2,1.3,9.7,2.8,8.1,4.7,6.6,7.4) >> yvalue<-c(9,3,4,7,2,5,3,6) >> plot(xvalue,yvalue) >> axis(1,at=NULL,labels=1/xvalue,digits=5) > Error in axis(1, at = NULL

Re: [R] labeling abscissa using a function of the plotted scale

2013-10-24 Thread Hurr
Thanks Jim, maybe now I can start learning. Here is a run of my trying to learn: > xvalue<-c(5.2,1.3,9.7,2.8,8.1,4.7,6.6,7.4) > yvalue<-c(9,3,4,7,2,5,3,6) > plot(xvalue,yvalue) > axis(1,at=NULL,labels=1/xvalue,digits=5) Error in axis(1, at = NULL, labels = 1/xvalue, digits = 5) : 'labels' is supp

Re: [R] labeling abscissa using a function of the plotted scale

2013-10-24 Thread Hurr
Thanks Jim, maybe now I can start learning. Next I want to use my choice of n digits or width instead of round. -- View this message in context: http://r.789695.n4.nabble.com/labeling-abscissa-using-a-function-of-the-plotted-scale-tp4678075p4678946.html Sent from the R help mailing list archiv

Re: [R] labeling abscissa using a function of the plotted scale

2013-10-23 Thread Jim Lemon
On 10/24/2013 01:49 PM, Hurr wrote: Sorry, I wasn't aware that it was that difficult. Here is the example scatter plot data: xvalue,yvalue 1,9 2,3 3,4 4,7 5,2 6,5 7,3 8,6 Please show me how to label the x axis with 1/xvalue. Hopefully, R plotter takes care of spacing, but maybe not. Hi Hurr, ho

Re: [R] labeling abscissa using a function of the plotted scale

2013-10-23 Thread Hurr
Sorry, I wasn't aware that it was that difficult. Here is the example scatter plot data: xvalue,yvalue 1,9 2,3 3,4 4,7 5,2 6,5 7,3 8,6 Please show me how to label the x axis with 1/xvalue. Hopefully, R plotter takes care of spacing, but maybe not. Thanks -- View this message in context: http:/

Re: [R] labeling abscissa using a function of the plotted scale

2013-10-23 Thread Jeff Newmiller
Not without a reproducible example. You can Google for suggestions about how to do that, with one result being [1]. [1] http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example --- Jeff Newmiller

Re: [R] labeling abscissa using a function of the plotted scale

2013-10-23 Thread Hurr
I studied the "Add an Axis to a Plot" document but I can't figure out where the 1/trueScaleValue goes. Would someone help me? -- View this message in context: http://r.789695.n4.nabble.com/labeling-abscissa-using-a-function-of-the-plotted-scale-tp4678075p4678917.html Sent from the R help mai

Re: [R] labeling abscissa using a function of the plotted scale

2013-10-11 Thread Hurr
Thanks. -- View this message in context: http://r.789695.n4.nabble.com/labeling-abscissa-using-a-function-of-the-plotted-scale-tp4678075p4678103.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https

Re: [R] labeling abscissa using a function of the plotted scale

2013-10-11 Thread David Winsemius
On Oct 11, 2013, at 9:48 AM, Hurr wrote: > Is it easy or difficult to label the abscissa of a scatter graph as > 1/trueScaleValue at that point? It's easy. ?axis > > -- > View this message in context: > http://r.789695.n4.nabble.com/labeling-abscissa-using-a-function-of-the-plotted-scale-tp4

[R] labeling abscissa using a function of the plotted scale

2013-10-11 Thread Hurr
Is it easy or difficult to label the abscissa of a scatter graph as 1/trueScaleValue at that point? -- View this message in context: http://r.789695.n4.nabble.com/labeling-abscissa-using-a-function-of-the-plotted-scale-tp4678075.html Sent from the R help mailing list archive at Nabble.com. __