MathGroup Archive 1999

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

Search the Archive

Re: Re: ListDensityPlot[ ] and DensityGraphics

  • To: mathgroup at smc.vnet.net
  • Subject: [mg17109] Re: [mg17056] Re: ListDensityPlot[ ] and DensityGraphics
  • From: "David Park" <djmp at earthlink.net>
  • Date: Sat, 17 Apr 1999 03:35:07 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

>Using Reverse the image looks right but the y-axis is still wrong.
Is this
>not possible without Reverse, so that both the image looks right and
the
>(x=0, y=0) point is in the upper left corner? Then point (x,y) on the
image
>corresponds to point (x,y) on the camera CCD.


Using the ListDensityPlot example from the Mathematica Book, pp
159-160 I think this does what you want.

t3=Table[Mod[x,y],{y,20},{x,30}];
ListDensityPlot[Reverse[t3],FrameLabel->{None,y,x,None},
      FrameTicks->{None,Table[{i, 20-i}, {i,0,20,5}], Range[0,30,5],
      None}];

It is necessary to know what the coordinate ranges are so the
FrameTicks can be tailored correctly.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/





  • Prev by Date: Re: Heip! How to draw a graph with log x axis.
  • Next by Date: Propositional Logic
  • Previous by thread: Re: ListDensityPlot[ ] and DensityGraphics
  • Next by thread: audio input problem