Re: How to plot list from (0,0) ?
- To: mathgroup@smc.vnet.net
- Subject: [mg12106] Re: How to plot list from (0,0) ?
- From: Martin Rommel <rommel@bc.edu>
- Date: Sat, 25 Apr 1998 01:30:36 -0400
- Organization: Boston College
- References: <6h70q0$h@smc.vnet.net>
Prepend[t,{0,0}] does not change t, only the output. Write
ListPlot[Prepend[t,{0,0}]]; or
t=Prepend[t,{0,0}]//ListPlot
I guess you understand.
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}.
>
> If anyone can tell me, the beginner of Mathematica. Thank a lot!
--
\\\\ //// C-@,@ J. Martin
Rommel (rommel@bc.edu) @/@-o "\ -/
\o /*