MathGroup Archive 1999

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

Search the Archive

Table extraction

  • To: mathgroup at
  • Subject: [mg19141] Table extraction
  • From: Maurice Shevalier <maurice at>
  • Date: Thu, 5 Aug 1999 23:58:44 -0400
  • Organization: Physics & Astronomy, The University of Calgary
  • Sender: owner-wri-mathgroup at


I am trying to extract a section of a table with not much luck....

I have defined two tables (actually two arrays which are used to plot
vectors with ListPlotVectorField) as follows:

xyvector = Table[{0.,0.},{j,1,64},{i,1,320}];
backvector = Table[{0.,0.},{j,1,16},{i,1,100}];

I need to extract part of xyvector and place it into  backvector. I have
tried to use Part. I can extract the j range correctly (rows), but I
can't get the Part function to extract in the i range (columns).

I tried using Part[xyvector,{2,3}] which extracts 2 rows but I cannot
figute out how to extract the necessary columns

Can anyone help?



Maurice Shevalier                 |       .~.
Ph.D. Candidate                   |       /V\       L   I   N   U   X
Dept. of Physics and Astronomy    |      // \\  >The Penguin, The Slayer?<
University of Calgary             |     /(   )\
Calgary, AB, CANADA T2N-1N4       |      ^^-^^
(403)220-7873   fax:(403)284-0074 |
e-mail: maurice at

  • Prev by Date: M4: Evaluating cells from external notebooks
  • Next by Date: Equation Font
  • Previous by thread: Re: M4: Evaluating cells from external notebooks
  • Next by thread: Re: Table extraction