Re: [R] depth of labels of axis

2014-09-05 Thread David Winsemius
to affect the output.. > > lbl <- expression(E[g], E, E[j], E, E^t) > > plot(1:5, xaxt = "n") > axis(1, at = 1:5, labels = updown(lbl) ) > abline(h=.7, xpd=TRUE, lty=3) > > > >> >> Thanks a lot. >> >> Best regards, >> Jinsong >> >> >

Re: [R] depth of labels of axis

2014-09-05 Thread David Winsemius
5, xaxt = "n") axis(1, at = 1:5, labels = updown(lbl) ) abline(h=.7, xpd=TRUE, lty=3) > > Thanks a lot. > > Best regards, > Jinsong > > >> >> -Original Message- >> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On

Re: [R] depth of labels of axis

2014-09-05 Thread Jinsong Zhao
t regards, Jinsong -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of David Winsemius Sent: Thursday, September 4, 2014 2:25 PM To: Jinsong Zhao Cc: r-help@r-project.org Subject: Re: [R] depth of labels of axis On Sep 3, 2014, at 10:0

Re: [R] depth of labels of axis

2014-09-05 Thread Jinsong Zhao
On 2014/9/4 12:24, David Winsemius wrote: On Sep 3, 2014, at 10:05 PM, Jinsong Zhao wrote: On 2014/9/3 21:33, Jinsong Zhao wrote: On 2014/9/2 11:50, David L Carlson wrote: The bottom of the expression is set by the lowest character (which can even change for subscripted letters with descende

Re: [R] depth of labels of axis

2014-09-04 Thread David L Carlson
help@r-project.org Subject: Re: [R] depth of labels of axis On Sep 3, 2014, at 10:05 PM, Jinsong Zhao wrote: > On 2014/9/3 21:33, Jinsong Zhao wrote: >> On 2014/9/2 11:50, David L Carlson wrote: >>> The bottom of the expression is set by the lowest character (which can >>

Re: [R] depth of labels of axis

2014-09-04 Thread David Winsemius
guage objects: c(expression(E[g]), E~phantom(E[g]), ~E[j]) -- David. >>> >>> >>> -Original Message- >>> From: r-help-boun...@r-project.org >>> [mailto:r-help-boun...@r-project.org] On Behalf Of Jinsong Zhao >>> Sent: Monday, Sep

Re: [R] depth of labels of axis

2014-09-03 Thread Jinsong Zhao
--- David L Carlson Department of Anthropology Texas A&M University College Station, TX 77840-4352 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Jinsong Zhao Sent: Monday, September 1, 2014 6:41 PM To: r-help@r-p

Re: [R] depth of labels of axis

2014-09-03 Thread Jinsong Zhao
epartment of Anthropology Texas A&M University College Station, TX 77840-4352 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Jinsong Zhao Sent: Monday, September 1, 2014 6:41 PM To: r-help@r-project.org Subject: [R] depth

Re: [R] depth of labels of axis

2014-09-03 Thread Jinsong Zhao
On 2014/9/1 20:39, David Winsemius wrote: On Sep 1, 2014, at 4:40 PM, Jinsong Zhao wrote: Hi there, With the following code, plot(1:5, xaxt = "n") axis(1, at = 1:5, labels = c(expression(E[g]), "E", expression(E[j]), "E", expression(E[t]))) you may notice that the "E" within labels of axis(

Re: [R] depth of labels of axis

2014-09-02 Thread David L Carlson
77840-4352 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Jinsong Zhao Sent: Monday, September 1, 2014 6:41 PM To: r-help@r-project.org Subject: [R] depth of labels of axis Hi there, With the following code, plot(1:5, xaxt = "n"

Re: [R] depth of labels of axis

2014-09-01 Thread David Winsemius
On Sep 1, 2014, at 4:40 PM, Jinsong Zhao wrote: Hi there, With the following code, plot(1:5, xaxt = "n") axis(1, at = 1:5, labels = c(expression(E[g]), "E", expression(E[j]), "E", expression(E[t]))) you may notice that the "E" within labels of axis(1) are not at the same depth. So the v

[R] depth of labels of axis

2014-09-01 Thread Jinsong Zhao
Hi there, With the following code, plot(1:5, xaxt = "n") axis(1, at = 1:5, labels = c(expression(E[g]), "E", expression(E[j]), "E", expression(E[t]))) you may notice that the "E" within labels of axis(1) are not at the same depth. So the vision of axis(1) labels is something like wave. Is