Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'ArrayPlot' topicStudent Support Forum > General > Archives > "ArrayPlot"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Bill Simpson
01/14/13 8:10pm


click on Details and Options.

This shows
ColorFunctionScaling True
which says Mathematica will automatically take the max and min values in your array and scale them so they lie from 0. to 1.

That is why when you multiply your whole array by 100 the result is unchanged, Mathematica scales to give exactly the same result as before.

If you do instead
ArrayPlot[array, ColorFunctionScaling->False]
and you make all your elements in your array between 0. and 1. yourself then you can control the darkness of each square.

If you need more help then please attach a small notebook with a small array which you have evaluated and carefully describe how you need the graphic to be different.

URL: ,

Subject (listing for 'ArrayPlot')
Author Date Posted
ArrayPlot Rafik 01/14/13 6:50pm
Re: ArrayPlot Bill Simpson 01/14/13 8:10pm
Re: ArrayPlot Rafik 01/15/13 11:55am
Re: Re: ArrayPlot jf 01/15/13 2:48pm
Re: ArrayPlot Rafik 01/15/13 8:28pm
Re: Re: ArrayPlot Rafik 01/16/13 10:51am
Re: Re: ArrayPlot Bill Simpson 01/16/13 2:17pm
Re: ArrayPlot Rafik 01/16/13 4:49pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic