[R] doubt about graphics

Ronaldo Reis Jr. chrysopa at insecta.ufv.br
Mon Jul 21 17:00:09 CEST 2003


Hi,

I have an data like this

x <- c(1:11)
y <- seq(245,445,20)

I make a plot

plot(x,y)

The first y value in y axis is 250 and the last y valeu is 450, the spacing 
between values are 50, so the y values showed are: 250, 300, 350, 400, 450

I need that values in y axis are: 240, 280, 320, 360, 400, 440, 480.

I try

plot(x,y,yaxp=c(240,480,6))

dont work

I try

plot(x,y,yaxp=c(240,480,6),ylim=range(240,480))

dont work too.

How I make this control?

Thanks
Ronaldo

-- 
The turtle lives 'twixt plated decks
Which practically conceal its sex.
I think it clever of the turtle
In such a fix to be so fertile.
		-- Ogden Nash
--
|>   // | \\   [***********************************]
|   ( õ   õ )  [Ronaldo Reis Júnior                ]
|>      V      [UFV/DBA-Entomologia                ]
|    /     \   [36571-000 Viçosa - MG              ]
|>  /(.''`.)\  [Fone: 31-3899-2532                 ]
|  /(: :'  :)\ [chrysopa at insecta.ufv.br            ]
|>/ (`. `'` ) \[ICQ#: 5692561 | LinuxUser#: 205366 ]
|    ( `-  )   [***********************************]
|>>  _/   \_Powered by GNU/Debian Woody/Sarge




More information about the R-help mailing list