Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15912
| From | Sofia Figueiredo <sofiafig@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: MatrixPlot |
| Date | 2011-02-01 11:52 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <ii8s63$2ld$1@smc.vnet.net> (permalink) |
None of the options worked...
My command is:
MatrixPlot[a,
ColorFunction -> (GrayLevel[(# - Min[a])/(Max[a] - Min[a])] &),
ColorFunctionScaling -> False, PlotRange -> All]
And generates a matrix of whites. The matrix ranges between -7866.78
and 145, so some color should be visible.
Am I doing something wrong in this command?
Thanks in advance!
Sofia
On Sat, Jan 29, 2011 at 7:01 AM, DrMajorBob <btreat1@austin.rr.com> wrote:
> There is PlotRange -> All, and we recently discovered PlotRange -> Full.
>
> Maybe one of those will work.
>
> Bobby
>
> On Fri, 28 Jan 2011 05:16:40 -0600, Sofia Figueiredo <sofiafig@gmail.com>
> wrote:
>
>> Dear Math group,
>> I have a 14x8 matrix "A" and I want to present it as a color map. I am
>> trying to use the command MatrixPlot, but I do not manage to set the
>> upper and lower limit. I tried to define the
>> PlotRange->{Min[A],Max[A]}, but it did not work.
>> How can I set the upper limite of the color range to the maximal value
>> of my matrix and the lower limite of the color range to the minimal
>> value of my matrix?
>> I also find strange that, in the MatrixPlot I get, the system can
>> diferentiate between the values 0.7 and 0.2, but then attributes the
>> same color to values as disparate as 1 and 145. How can I avoid this?
>>
>> Thanks in advance.
>> Sofia
>>
>
>
> --
> DrMajorBob@yahoo.com
>
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: MatrixPlot Sofia Figueiredo <sofiafig@gmail.com> - 2011-02-01 11:52 +0000
csiph-web