MathGroup Archive 2001

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

Search the Archive

Inverting yaxis in DensityPlot


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