Re: Combining a ListDensityPlot that uses a userdefined color function with a graphics 'looses' the userdefined colorfunction
- To: mathgroup at smc.vnet.net
- Subject: [mg59712] Re: Combining a ListDensityPlot that uses a userdefined color function with a graphics 'looses' the userdefined colorfunction
- From: "James Gilmore" <james.gilmore at yale.edu>
- Date: Thu, 18 Aug 2005 00:16:58 -0400 (EDT)
- Organization: Yale University
- References: <ddurhk$ogh$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Blue->RGBColor[0 ,0, 1] ? -- James Gilmore Graduate Student Department of Physics Yale University New Haven, CT 06520 USA <hopeandjoyandpeace at hotmail.com> wrote in message news:ddurhk$ogh$1 at smc.vnet.net... > Combining a ListDensityPlot that uses a userdefined color function with > a graphics 'looses' the userdefined colorfunction > > for example > > myArray=Table[Sin[x*y],{x,1,40},{y,1,40}]//N; > Max[myArray] > ListDensityPlot[myArray,Mesh-> False] > > Show[ListDensityPlot[myArray,Mesh->False,ColorFunction->GrayLevel,ColorFunctionScaling->False],Graphics[{Blue,Thickness[0.01],Line[{{10,10},{20,20}}]}]] > > > > Gives three density graphics but only one of them appears to uses the > colorfunction of GrayLevel. > > We have version 5.1 > How can I combine the image resulting when I define my own > colorFunction with another graphics without the image changing the way > it appears? > > > Chris > ABCC Regina >