MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to plot list from (0,0)



gis86806 wrote:

> 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}.
 
Hi, gis86806!

Try

ListPlot[t,PlotStyle->PointSize[0.02],AxesOrigin->{0,0}]

This should work.

Tomas Garza
Mexico City



  • Prev by Date: key entry problems
  • Next by Date: creating packages
  • Prev by thread: Re: key entry problems
  • Next by thread: creating packages