Re: How to plot list from (0,0) ?
- To: mathgroup@smc.vnet.net
- Subject: [mg12039] Re: [mg11984] How to plot list from (0,0) ?
- From: "JOHN C ERB" <JOHN_C_ERB@prodigy.net>
- Date: Fri, 24 Apr 1998 01:52:11 -0400
If you check, after you PrePend, you will find that t is still the original data! try the following: t = {your list}; t=Prepend[t,{0.0,0.0}]; now plot t -OR- t={your list}; s=Prepend[t,{0.0,0.0}] then plot s this way you retain your original data John C. Erb -----Original Message----- From: 8623806 <gis86806@cis.nctu.edu.tw> To: mathgroup@smc.vnet.net Subject: [mg12039] [mg11984] How to plot list from (0,0) ? > 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! > > >