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

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

Search the Archive

Re: FW: Question on Ordering

  • To: mathgroup at smc.vnet.net
  • Subject: [mg47033] Re: FW: Question on Ordering
  • From: Bill Rowe <readnewsciv at earthlink.net>
  • Date: Mon, 22 Mar 2004 05:18:45 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

On 3/20/04 at 3:50 AM, H.L.Owen at dl.ac.uk (Owen, HL (Hywel)) wrote:

>I've answered my own question! Kind of obvious really, if you use
>the function Normalise:

>Normalise[list_]:=((list-#)/(Max[list]-#))&[Min[list]]

>which converts any list into a set of values from zero to one.

>Then the plot can be done using:

>{Hue[#] & /@ Normalise[B], Point[#] & /@ Transpose[{A,B}]}
>//Transpose//Graphics//Show

>Unless there's a simpler method?

I don't know of a simpler method but I would suggest dividing by two to scale the values from zero to 1/2. This will cause the min value to be red and the max value to be cyan. Scaling from zero to one will cause both the min and max values to have the same color (red).
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: newbie Comment question
  • Next by Date: Re: newbie myHead question
  • Previous by thread: FW: Question on Ordering
  • Next by thread: RE: Question on Ordering