Re: How to plot list from (0,0) ?
- To: mathgroup@smc.vnet.net
- Subject: [mg12064] Re: How to plot list from (0,0) ?
- From: "David Keith" <dkeith@hevanet.com>
- Date: Fri, 24 Apr 1998 01:52:34 -0400
- Organization: Hevanet Communications
- References: <6h70q0$h@smc.vnet.net>
Hello,
I tried this and it seems to be working as you intend.
One possibility is that, with the first point located at the origin, you
do not see it. Try
ListPlot[newList,PlotStyle->PointSize[.02]]
to plot the result and the points will be large enough to see, even when
on a grid line.
Another approach is to control the plot range explicitly, for example
using
ListPlot[originalList, PlotRange->{{0,Automatic},All}].
This has the advantage of not adding a false data point.
Enjoy Mathematica!
8623806 wrote in message <6h70q0$h@smc.vnet.net>...
> I have a list with 10 element as follows,
>t={{1,1.31496},{2,2.29389},{3,3.24304},{4,4.17759},{5,5.11638},
> {6,6.0466},{7,6.97955},{8,7.91079},{9,8.84024},{10,9.7713}}, which is
>a computed result
>
>I hope to plot this list from {0,0}, hence I use Prepend[t,{0,0}] to
>insert {0,0}. But it seems not work, the output graphic is not from
>{0,0}.
>
>If anyone can tell me, the beginner of Mathematica. Thank a lot!
>
>
>