Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'ListDensityPlot Colors' topicStudent Support Forum > General > "ListDensityPlot Colors"

Next Comment >Help | Reply To Topic
Author Comment/Response
Tomaz
10/01/09 06:38am

I used ListDensityPlot to make a graph of a data3, here is a code:



data3 = Table[{T[[j]][[1]], Log[10, T[[j]][[2]]], T[[j]][[4]]}, {j, 1, Tlength}];

ListDensityPlot[data3, InterpolationOrder -> 0]



Values of T[[j]][[4]] can only be 1,2 or 3 and I would like to have areas with value 1 painted red (RGB[1,0,0]), areas with value 2 painted green (RGB[0,1,0]) and areas with value 3 painted blue (RGB[0,0,1]). Please help and thank you in advance.

Tomaz

URL: ,

Subject (listing for 'ListDensityPlot Colors')
Author Date Posted
ListDensityPlot Colors Tomaz 10/01/09 06:38am
Re: ListDensityPlot Colors yehuda ben-s... 10/04/09 03:52am
Next Comment >Help | Reply To Topic