?axis
> curve(2*x + 3, 0,10,xaxt='n',yaxt='n')
> axis(1, at=seq(0,10))
> axis(2, at=seq(5,10))
>
On 6/29/06, Marc Bernard <bernarduse1@yahoo.fr>
wrote:>
> Dear All,
>
> I am looking how to specify the values on the y axis and x axis for a
> curve function.
> example:
>
> curve(2*x + 3, 0,10) gives me a range of x axis in (0,2,4,6,8,10) amd
> for yaxis (5,10,15,20). How to do in order to have the x axis in
> (0,1,2,3,4,5,6,7,8,9,10) and y axis in (5,6,7,8,......, 10).
>
>
> Thanks a lot,
>
> Bernard
>
>
>
> ---------------------------------
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
--
Jim Holtman
Cincinnati, OH
+1 513 646 9390 (Cell)
+1 513 247 0281 (Home)
What is the problem you are trying to solve?
[[alternative HTML version deleted]]