[R] depth of labels of axis
Jinsong Zhao
jszhao at yeah.net
Thu Sep 4 05:57:21 CEST 2014
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(1) are not at the
>> same depth. So the vision of axis(1) labels is something like wave.
>>
>> Is there a possible way to typeset the labels so that they are have
>> the same depth?
>
> I'm not sure that we share an interpretation of the term "depth" in this
> context. I'm interpreting your request to me vertical alighnment.
"depth" is not the accurate word for this situation. Maybe, "baseline"
is a better one.
>
>> Any suggestions will be really appreciated.
>
> Read the help page, especially the paragraph about padj. I will admit
> that I thought the description of the actions of padj=0 and padj=1 were
> not what I experienced when I tried alternate versions. It did not seem
> to me that padj=0 produced "top alignment".
Thank you very much for pointing me to this. I did not notice this argument.
Best regards,
Jinsong
More information about the R-help
mailing list