MathGroup Archive 2001

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

Search the Archive

Inverting yaxis in DensityPlot


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