MathGroup Archive 2011

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

Search the Archive

Re: Color grid with x and y args to visualize effects of 2D

  • To: mathgroup at smc.vnet.net
  • Subject: [mg116574] Re: Color grid with x and y args to visualize effects of 2D
  • From: "Christopher O. Young" <cy56 at comcast.net>
  • Date: Sun, 20 Feb 2011 05:26:21 -0500 (EST)
  • References: <ijo588$lk8$1@smc.vnet.net>

http://home.comcast.net/~cy56/GridViaGC.png has a picture of how simple this
is to do in the about-to-be-released version of Graphing Calculator.


On 2/19/11 5:15 AM, in article ijo588$lk8$1 at smc.vnet.net, "Christopher O.
Young" <cy56 at comcast.net> wrote:

> I'm trying to get a simple kind of color chart function that I can pass x
> and as arguments to. I want to have it running across by hue and up by
> saturation and value. This is to illustrate 2D transformations, so I need to
> have arguments that I can _inversely_ transform in order to illustrate the
> effects of 2D transformations, whether linear or not.
> 
> One direct approach would seem to have nested loops, but I can't see how to
> do this if the body of the For loop in Mathematica is part of the function.
> 
> Any help getting a "jump start" in this kind of thing would be a huge help
> to me.
> 
> For[i = 0, i < 10, i++,
> 
>   For[j = 0, j < 10, j++,
> 
>       RegionPlot[(i < x < i + 1) && (j < y < j + 1), {x,0,10}, {y,0,10}]
> 
>   ]
>  
> ]



  • Prev by Date: Re: NDSolve Unable to find initial conditions that satisfy the
  • Next by Date: Re: Another point about Mathematica 8.0
  • Previous by thread: Re: NDSolve Unable to find initial conditions that satisfy the
  • Next by thread: Re: Color grid with x and y args to visualize effects of 2D