MathGroup Archive 2001

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

Search the Archive

Inverting yaxis in DensityPlot

  • To: mathgroup at
  • Subject: [mg27280] Inverting yaxis in DensityPlot
  • From: bghiggins at (Brian Higgins)
  • Date: Sun, 18 Feb 2001 02:52:14 -0500 (EST)
  • Organization: The Math Forum
  • References: <96iqei$>
  • Sender: owner-wri-mathgroup at


Here is one way that uses Reverse and then changes the the FrameTick

data = Table[Random[], {10}, {5}];
myTicks = Map[{#, Length[data] - #} &, Range[0, Length[data]]];

ListDensityPlot[Reverse[data], Mesh -> False, 
  FrameTicks -> {Automatic, myTicks}]

You can modify the myTicks function to suit your needs



  • Prev by Date: Fresnel's Reflectivity
  • Next by Date: Re: Arrows on axes?
  • Previous by thread: Re: Fresnel's Reflectivity
  • Next by thread: Comparing Numbers - improving on log relative error