MathGroup Archive 2001

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

Search the Archive

Inverting yaxis in DensityPlot

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

Matthias, 

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

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

Cheers,

Brian


  • 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