Quantcast

Replacing tick labels in a plot

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Replacing tick labels in a plot

Robert Latest
Hello,

is it possible to replace the text of tick marks in a plot?
Specifically, I'd like to have a ppnorm plot in which the theoretical
quantiles are not expressed in terms of standard deviations, but in
actual percentages. Anybody who's seen a probability plot in MINITAB
knows what I'm talking about.

I have somewhat listlessly looked at mtext(), thinking that I could
maybe first create my plot, then draw a white rectangle over the
original numbers (how?), and then inserting my own numbers using
mtext(). To me this sounds so stupid that I haven't yet invested any
effort into actually giving it a shot.

Any ideas?

BTW, is it normal that each and every post to this list, even by list
members, has to go through moderator approval?

Thanks,
robert

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Replacing tick labels in a plot

Sarah Goslee
What about ?axis as a place to start?

Are you sure that the email address that your message appears to be
coming from is identical to the one you used when you signed up?
That's a frequent cause of moderation.

Sarah

On Fri, May 4, 2012 at 1:09 PM, Robert Latest <[hidden email]> wrote:

> Hello,
>
> is it possible to replace the text of tick marks in a plot?
> Specifically, I'd like to have a ppnorm plot in which the theoretical
> quantiles are not expressed in terms of standard deviations, but in
> actual percentages. Anybody who's seen a probability plot in MINITAB
> knows what I'm talking about.
>
> I have somewhat listlessly looked at mtext(), thinking that I could
> maybe first create my plot, then draw a white rectangle over the
> original numbers (how?), and then inserting my own numbers using
> mtext(). To me this sounds so stupid that I haven't yet invested any
> effort into actually giving it a shot.
>
> Any ideas?
>
> BTW, is it normal that each and every post to this list, even by list
> members, has to go through moderator approval?
>
> Thanks,
> robert


--
Sarah Goslee
http://www.functionaldiversity.org

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Replacing tick labels in a plot

Robert Latest
Hello Sarah,

thanks for your quick answer. This is exactly what I was looking for,
embarrassingly simple if I might add. Sometimes R is like a huge
workshop with unlabeled tool magazines: You know the tool exists, but
not where it is. And if you find it, the instructions are often quite
terse.

The "moderator approval" thing has gone away, too.

Best regards,
bob

On Fri, May 4, 2012 at 7:13 PM, Sarah Goslee <[hidden email]> wrote:

> What about ?axis as a place to start?
>
> Are you sure that the email address that your message appears to be
> coming from is identical to the one you used when you signed up?
> That's a frequent cause of moderation.
>
> Sarah
>
> On Fri, May 4, 2012 at 1:09 PM, Robert Latest <[hidden email]> wrote:
>> Hello,
>>
>> is it possible to replace the text of tick marks in a plot?
>> Specifically, I'd like to have a ppnorm plot in which the theoretical
>> quantiles are not expressed in terms of standard deviations, but in
>> actual percentages. Anybody who's seen a probability plot in MINITAB
>> knows what I'm talking about.
>>
>> I have somewhat listlessly looked at mtext(), thinking that I could
>> maybe first create my plot, then draw a white rectangle over the
>> original numbers (how?), and then inserting my own numbers using
>> mtext(). To me this sounds so stupid that I haven't yet invested any
>> effort into actually giving it a shot.
>>
>> Any ideas?
>>
>> BTW, is it normal that each and every post to this list, even by list
>> members, has to go through moderator approval?
>>
>> Thanks,
>> robert
>
>
> --
> Sarah Goslee
> http://www.functionaldiversity.org

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Loading...