MathGroup Archive 2001

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

Search the Archive

Re: problems with lists

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30395] Re: problems with lists
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Wed, 15 Aug 2001 01:04:02 -0400 (EDT)
  • References: <9lakuq$ca1$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Dirk,
You can place ticks, and label them as you want, by using the option Ticks

data = Table[Random[Integer, {-9, 9}], {10}, {2}]

ListPlot[data, Ticks -> ({#1, #1} & )[Range[-9, 9]]];

Or you might prefer to have a frame instead of axes:

ListPlot[data, Ticks -> ({#1, #1} & )[Range[-9, 9]],
   Axes -> False, Frame -> True, FrameTicks ->
    ({#1, #1, None, None} & )[Range[-9, 9]]];

You will find information on statistics  functions in Help
Browser>Add-ons>Standard Packages>Statistics

Here is how {#,#}&[Range[-9,9]] evaluates::

({#1, #1} & )[{-9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1,
   2, 3, 4, 5, 6, 7, 8, 9}]

{{-9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5,
   6, 7, 8, 9}, {-9, -8, -7, -6, -5, -4, -3, -2, -1, 0,
   1, 2, 3, 4, 5, 6, 7, 8, 9}}

--
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

"Dirk Heidenreich" <Heidenreich at helimail.de> wrote in message
news:9lakuq$ca1$1 at smc.vnet.net...
> hi
>
> i am new at mathematica
> i collecting datas from a measurment and want to analyse them.
> The x-axis and the y-axis doesnt have integer values.
> I want to make a statistical analysation from them?
> And visualate them.
>
> Dirk
>
>
>




  • Prev by Date: tickmark problem
  • Next by Date: Re: Rotation3D, MatrixRotation3D ?
  • Previous by thread: problems with lists
  • Next by thread: Contour List Plot on Surface of Sphere?