Skip to content

Scale

3 messages · Medic, Duncan Murdoch, Bert Gunter

#
I would like to get horizontal numbers on the both axes: X and Y.
I got horizontal numbers only on the Y axis when adding las=2,
How to obtain a horizontal orientation for number on scale also for the X axis
(now they are vertical)? Here is my code:
plot(survfit(Y~addicts$clinic), fun="cloglog", las=2)
#
On 20/05/2018 3:32 PM, Ed medicine via R-help wrote:
Did you try las = 1?  That's what the documentation (in ?par) says to do.

Duncan Murdoch
#
You can draw your own axes.

Set las =1. See ?par

plot(survfit(Y~addicts$clinic), fun="cloglog", las=1)

Cheers,
Bert



Bert Gunter

"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

On Sun, May 20, 2018 at 12:32 PM, Ed medicine via R-help <
r-help at r-project.org> wrote: