Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

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


  • To: mathgroup@smc.vnet.net
  • Subject: [mg12072] Re: How to plot list from (0,0) ?
  • From: Paul Abbott <paul@physics.uwa.edu.au>
  • Date: Sat, 25 Apr 1998 01:30:09 -0400
  • Organization: University of Western Australia
  • References: <6h70q0$h@smc.vnet.net>

8623806 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}.

Try the following:

In[1]:= 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}};

In[2]:= ListPlot[Prepend[t, {0, 0}]]

Cheers,
	Paul 

____________________________________________________________________ 
Paul Abbott                                   Phone: +61-8-9380-2734
Department of Physics                           Fax: +61-8-9380-1014
The University of Western Australia            Nedlands WA  6907       
mailto:paul@physics.uwa.edu.au  AUSTRALIA                            
http://www.pd.uwa.edu.au/~paul

            God IS a weakly left-handed dice player
____________________________________________________________________



  • Prev by Date: Problems connecting to remote kernel
  • Next by Date: Re: BesselJZeros strangeness
  • Prev by thread: Re: How to plot list from (0,0) ?
  • Next by thread: HTML export