MathGroup Archive 2004

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

Search the Archive

Re: Listplot-Bug in Mathematica 5.0

  • To: mathgroup at smc.vnet.net
  • Subject: [mg50093] Re: [mg50046] Listplot-Bug in Mathematica 5.0
  • From: DrBob <drbob at bigfoot.com>
  • Date: Sat, 14 Aug 2004 01:51:11 -0400 (EDT)
  • References: <200408130955.FAA03599@smc.vnet.net>
  • Reply-to: drbob at bigfoot.com
  • Sender: owner-wri-mathgroup at wolfram.com

It sounds as if you expected a COUNT for each data point; but that's not what you asked for. Multiple points in the same location appear as a single point, just as you should expect.

Here you see the points (as you already plotted them) AND a count for each one:

DisplayTogether[ListPlot[swk, PlotJoined -> True,
     PlotStyle -> Hue[.9], Axes -> True, PlotLabel -> "
     Steigungswinkel", PlotRange -> All], Graphics[Text @@@ Frequencies@swk]]

Bobby

On Fri, 13 Aug 2004 05:55:37 -0400 (EDT), Robert Zierer <robertzierer at yahoo.com> wrote:

> Hello,
>
> I think I found a bug in Mathematica 5.0.0.0. The following code
> didn't behave as expected (delete the "`" and the "\\"):
>
> swk = {{3760.115070521656`, -0.03392142349257811`}, {
>         3772.3106972498817`, -0.01659087526212362`},
> {3772.3106972498817`, \
> -0.01659087526212362`}, {
>         3772.3106972498817`, -0.01659087526212362`},
> {3772.3106972498817`, \
> -0.01659087526212362`}, {
>         3772.3106972498817`, -0.01659087526212362`},
> {3772.3106972498817`, \
> -0.01659087526212362`}, {
>         3772.3106972498817`, -0.01659087526212362`},
> {3772.3106972498817`, \
> -0.01659087526212362`}, {
>         3772.3106972498817`, -0.01659087526212362`},
> {3772.3106972498817`, \
> -0.01659087526212362`}, {
>         3784.810127932071`, -0.012419680497015643`},
> {3784.810127932071`, \
> -0.012419680497015643`}, {
>         3784.810127932071`, -0.012419680497015643`},
> {3784.810127932071`, \
> -0.012419680497015643`}, {
>         3784.810127932071`, -0.012419680497015643`},
> {3784.810127932071`, \
> -0.012419680497015643`}, {
>         3784.810127932071`, -0.012419680497015643`},
> {3784.810127932071`, \
> -0.012419680497015643`}, {
>         3784.810127932071`, -0.012419680497015643`},
> {3784.810127932071`, \
> -0.012419680497015643`}, {3797.309558614259`, -0.02261413419318535`},
> \
> {3797.309558614259`, -0.02261413419318535`}, {3797.309558614259`, \
> -0.02261413419318535`}, {3797.309558614259`, -0.02261413419318535`}, \
> {3797.309558614259`, -0.02261413419318535`}, {3797.309558614259`, \
> -0.02261413419318535`}, {3797.309558614259`, -0.02261413419318535`}, \
> {3797.309558614259`, -0.02261413419318535`}, {3797.309558614259`, \
> -0.02261413419318535`}, {3797.309558614259`, -0.02261413419318535`}, \
> {3809.5051853424857`, -0.002704921194676019`}, {3809.5051853424857`, \
> -0.002704921194676019`}, {3809.5051853424857`,
> -0.002704921194676019`}, \
> {3809.5051853424857`, -0.002704921194676019`}, {3809.5051853424857`, \
> -0.002704921194676019`}, {3809.5051853424857`,
> -0.002704921194676019`}, \
> {3809.5051853424857`, -0.002704921194676019`}, {3809.5051853424857`, \
> -0.002704921194676019`}, {3809.5051853424857`,
> -0.002704921194676019`}, \
> {3886.3245931593947`, 0.03401050818985116`}};
> ListPlot[swk,
>     PlotJoined -> True,
>     PlotStyle -> Hue[.9],
>     Axes -> True,
>     PlotLabel -> "Steigungswinkel",
>     PlotRange -> All ];
>
>
> Instead of plotting some step curve (some values of the list were
> multiple), it plotted only parts of the list (only the first value in
> a series of multiple values).
> Any hints, bugfixes? Or am I wrong?
>



-- 
DrBob at bigfoot.com
www.eclecticdreams.net


  • Prev by Date: Re: Re: Reduce/Solve
  • Next by Date: Re: Listplot-Bug in Mathematica 5.0
  • Previous by thread: Listplot-Bug in Mathematica 5.0
  • Next by thread: Re: Listplot-Bug in Mathematica 5.0