MathGroup Archive 2001

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

Search the Archive

Re: ListDensityPlot[] : frame ticks help !

  • To: mathgroup at smc.vnet.net
  • Subject: [mg27942] Re: ListDensityPlot[] : frame ticks help !
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Sat, 24 Mar 2001 15:15:46 -0500 (EST)
  • References: <99hcig$eb1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Fabio,

Use the option  MeshRange -> {{xmin,xmax},{ymin,ymax}}:

data = Table[Sin[x]/Cos[x^2 + y^2], {x, -2, 2, 0.1}, {y, -2, 2, 0.1}];

ListDensityPlot[data, Mesh -> False, MeshRange -> {{-2, 2}, {-2, 2}}];

--
Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565

"Tasslehof" <fabio at urania.fisica.unige.it> wrote in message
news:99hcig$eb1 at smc.vnet.net...
> Hi,
>
> I am using ListDensityPlot to plot a 2D array of data from a simulation,
> which are of the form (x,y,f(x,y)). Of course - i read btw them from an
> external file - mathematica doesn't care about (x,y) values but puts on
> frame ticks the "position number" in the array i read in. I am wondering
> _how_ can i put on the frame ticks the original x,y scales. Sorry for the
> - hopefully not too - FAQ, but I don't know how to work out this. Cheers,
>
>
> |~~~~~~|
> |(O>   |\  Fabio Cavaliere (Homebrew apprentice & GLUG member)
> |//\   | | e-mail > fabio at urania.fisica.unige.it
> |V_/_  | | e-mail2 > cavalie5 at server3.fisica.unige.it
> |######|-  GLUG on the Web : http://genova.linux.it
> +------+
>
>




  • Prev by Date: AspectRatio in ScatterPlot and Shadow
  • Next by Date: Failure to simplify logical expressions
  • Previous by thread: ListDensityPlot[] : frame ticks help !
  • Next by thread: RE: ListDensityPlot[] : frame ticks help !