Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: ListPlot Joined/Filling bug?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg86880] Re: ListPlot Joined/Filling bug?
  • From: Julian Aguirre <julian.aguirre at ehu.es>
  • Date: Tue, 25 Mar 2008 01:15:03 -0500 (EST)
  • References: <fs26rh$bm$1@smc.vnet.net>

Dear group,

Alexander ha escrito:
> When I try to generate the following plot:
>
> ListPlot[{
>
>   {15138, 15309, 15341, 15640, 16109, 16675, 16730, 16756, 16797,
>    17006, 17412, 17880, 18034, 18081, 18101, 18171, 18390, 18569,
>    18821, 18830},
>
>   {45373, 45784, 46153, 47525, 48197, 50014, 50141, 50239, 50342,
>    50942, 51950, 52198, 52336, 52393, 52450, 52746, 53282, 53861,
>    54593, 54624},
>
>   {52282, 52487, 52633, 53318, 53766, 57825, 58235, 58333, 58564,
>    59470, 60302, 61050, 61238, 61348, 61460, 61752, 62331, 63000,
>    63731, 63792},
>
>   {11595, 11635, 11663, 11829, 11912, 12704, 12793, 12807, 12845,
>    13026, 13226, 13372, 13427, 13459, 13477, 13550, 13692, 13840,
>    14023, 14027},
>
>   {67539, 68026, 68260, 69793, 70561, 77539, 77729, 77868, 78137,
>    80199, 81310, 81882, 82106, 82219, 82302, 82647, 83241, 83960,
>    84724, 84785}
>
>   }, Joined -> True]
>
> I consistently hang Mathematica to the point where I have to restart
> its kernel in order to restore functionality. Oddly, if Joined->True
> is replaced with Filling->Axis, the problem persists, but if either
> options is removed (so just the markers are plotted), the plot is
> generated as expected.
>
> Is anyone else seeing this behavior?

I can reproduce the behavior in a simpler example.

In[1]:= $Version

Out[1]= "6.0 for Mac OS X x86 (64-bit) (February 7, 2008)"

In[2]:= myList = {15138, 15309, 15341, 15640, 16109};

In[3]:= ListPlot[myList]

Works as expected. However, both

ListPlot[myList, Joined -> True]

and

ListLinePlot[myList]

hang Mathematica. This does not happen if myList has only 4 points.
Looks like a bug related to the size of the numbers. Everything works
fine with myList/100.

Juli=E1n


  • Prev by Date: Tagged list processing
  • Next by Date: Re: Mathlink: How do I pass arbitrary data from Mathematica to C?
  • Previous by thread: Re: ListPlot Joined/Filling bug?
  • Next by thread: Re: ListPlot Joined/Filling bug?