Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

Re: Scaled Axes

  • To: mathgroup at
  • Subject: [mg13830] Re: Scaled Axes
  • From: "Allan Hayes" <hay at>
  • Date: Sat, 29 Aug 1998 04:41:09 -0400
  • References: <6s5ka1$>
  • Sender: owner-wri-mathgroup at

Wolfgang Grond wrote in message <6s5ka1$c54 at>...
>I have a question concerning 3D graphics:
>I want to get a ListPlot3D from a field, where the x and y axes don't
>give the position of a z-value in that field, but show the real size of
>a value which corresponds to that axes.
>To give an example, let's plot a temperature over a material composition
>(x) and a time (y), where x goes from 0-80% (in steps of 10%) and y goes
>from 1 sec to 1000 sec (in steps of 20 sec).
>A ListPlot3D (as I know) would show the temperature over a 8x50 grid,
>where x is labeled from 1-8 (not 0-80), and y is labeled from 1-50 (not
>Many thanks in advance for any support.
>Wolfgang Grond

The option MeshRange will set the range:

ListPlot3D[Table[Sin[x*y] + Random[Real, {-0.15, 0.15}],
    {x, 0, (3*Pi)/2, Pi/15}, {y, 0, (3*Pi)/2, Pi/15}],
   MeshRange -> {{0, (3*Pi)/2}, {0, (3*Pi)/2}}];

The option Ticks can then be used to specify the ticks

ListPlot3D[Table[Sin[x*y] + Random[Real, {-0.15, 0.15}],
    {x, 0, (3*Pi)/2, Pi/15}, {y, 0, (3*Pi)/2, Pi/15}],
   MeshRange -> {{0, (3*Pi)/2}, {0, (3*Pi)/2}},
   Ticks ->
    {Range[0, (3*Pi)/2, Pi/4], Range[0, (3*Pi)/2, Pi/4],

Allan Hayes
Training and Consulting
Leicester UK
hay at
voice: +44 (0)116 271 4198
fax: +44(0)116 271 8642

  • Prev by Date: Re: Mathematica
  • Next by Date: Re: Importing CSV (comma separated values) files?
  • Previous by thread: Scaled Axes
  • Next by thread: Re: Scaled Axes