Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

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

Search the Archive

Re: ListPlot with row vectors

  • To: mathgroup at
  • Subject: [mg28515] Re: [mg28500] ListPlot with row vectors
  • From: Tomas Garza <tgarza01 at>
  • Date: Tue, 24 Apr 2001 01:48:50 -0400 (EDT)
  • References: <>
  • Sender: owner-wri-mathgroup at

Use Transpose[] to get your points (please avoid initial capital letters for
your symbols):

a = {{x1, x2, x3, x4, x5, x6}, {y1, y2, y3, y4, y5, y6}};


will get you what you want. If you have duplicate points in Transpose[a},


will get rid of them.

Tomas Garza
Mexico City
----- Original Message -----
From: "Nicola" <pasquino at>
To: mathgroup at
Subject: [mg28515] [mg28500] ListPlot with row vectors

> I have 2xN matrix whose column vectors are points in the cartesian plane.
> would like to plot these points, and therefore I assumed that ListPlot
> do the job. But I realized that ListPlot only plots a one row vector
> integer numbers, or at the most a list of points in the form
> {{x1,y1},{x2,y2},{}...}
> The problem is that I have the points in the form
> A={{x1,x2,x3,x4,x5,x6...},{y1,y2,y3,y4,y5}}.
> How can I turn my matrix into a form that Mathematica can use, so to plot
> the points on the plane?
> One more questions, if you don't mind. How can I have the starting matrix
> contain only unique points? In other words, there should be no repetitions
> of the same point in the matrix.
> Please *post* and *email* your replies.
> Thanks for your help!
> Nicola

  • Prev by Date: Re: ListPlot with row vectors
  • Next by Date: Re: Programming question about multiple assignments in the Coefficients Matrix
  • Previous by thread: Re: ListPlot with row vectors
  • Next by thread: Re: ListPlot with row vectors