Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*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 2002

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

Search the Archive

Re: Problem using a loop to generate data for Point function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg35628] Re: [mg35602] Problem using a loop to generate data for Point function
  • From: Tomas Garza <tgarza01 at prodigy.net.mx>
  • Date: Tue, 23 Jul 2002 01:51:45 -0400 (EDT)
  • References: <200207220611.CAA09236@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

In[1]:=
Show[Table[Graphics[Point[{i, i}]], {i, 1, 9}]];

Tomas Garza
Mexico City
----- Original Message ----- 
From: "Michael Carnright" <carnright at yahoo.com>
To: mathgroup at smc.vnet.net
Subject: [mg35628] [mg35602] Problem using a loop to generate data for Point function


> For[i = 1, i < 10, i++, Show[Graphics[Point[{i, i}]]]]
> 
> This genereates nine graphics with one point each.  I was trying to
> generate one graphic with nine points.  I see my problem as calling
> the Point function nine times instead of only once.  I wish to use the
> data generated by the loop on a single graphic.
> 
> Thanks in advance for help on this :)
> 
> P.S.  In the end I will be doing three For loops in a nested formation
> to generate the data to put on one graphic.
> 
> -Michael
> 



  • Prev by Date: Re: Q: Solving Numerical Matrix-Equation
  • Next by Date: Re: Q: Solving Numerical Matrix-Equation
  • Previous by thread: Problem using a loop to generate data for Point function
  • Next by thread: Re: Problem using a loop to generate data for Point function