Re: 1/x?
- To: mathgroup at smc.vnet.net
- Subject: [mg90726] Re: 1/x?
- From: Peter Breitfeld <phbrf at t-online.de>
- Date: Mon, 21 Jul 2008 05:53:45 -0400 (EDT)
- References: <g61hck$d38$1@smc.vnet.net>
Rotem schrieb:
> Hey,
>
> I'm a new user to Mathematica, and was wondering if any of you
> encountered this strange, yet incredibly basic problem - whey plotting
> 1/x (Plot[1/x, {x, 0, 100}]), the resulting graph seems to be
> intersecting with the X axis...
>
Mathematica not always makes the axes cross at (0,0). In this
example the axes cross at (0,0.2). You can set the origin with an
option:
Plot[1/x, {x, 0, 100}, AxesOrigin -> {0, 0}]
Gruss Peter
--
==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==
Peter Breitfeld, Bad Saulgau, Germany -- http://www.pBreitfeld.de