Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

ArrayPlot with inverted ColorFunction depending on MaxPlotPoints

  • To: mathgroup at smc.vnet.net
  • Subject: [mg109057] ArrayPlot with inverted ColorFunction depending on MaxPlotPoints
  • From: Rui <rui.rojo at gmail.com>
  • Date: Mon, 12 Apr 2010 06:52:32 -0400 (EDT)

Why does this work this way?
lolo = - Table[i j, {i, 1, 7}, {j, 1, 128}]  (* is negative *)
ArrayPlot[lolo, ColorFunction -> "TemperatureMap", AspectRatio -> 1/
GoldenRatio, MaxPlotPoints -> 128]
shows with the colors right (and higher MaxPlotPoints too), but

ArrayPlot[lolo, ColorFunction -> "TemperatureMap", AspectRatio -> 1/
GoldenRatio, MaxPlotPoints -> 127] shows them with the ColorFunction
inverted

Thankx


  • Prev by Date: SparseArray
  • Next by Date: Re: Retrieving orphaned code
  • Previous by thread: Re: SparseArray
  • Next by thread: beginner question about syntax