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: [mg87054] Re: ListPlot Joined/Filling bug?
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
  • Date: Sun, 30 Mar 2008 01:17:22 -0500 (EST)
  • Organization: The Open University, Milton Keynes, UK
  • References: <fs26rh$bm$1@smc.vnet.net> <fsa5c2$aan$1@smc.vnet.net>

Julian Aguirre wrote:

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

For what is worth, I can reproduce the bug on the folloiwng system : 
v6.0.2 on a Mac (Mac OS X 10.5.2) Intel (64-bit); but not on this one :
v6.0.2 on a PC (Windows XP SP2) Intel (32-bit). I have used the "large" 
list and the shorter one (5 elements) and the variations of the plot 
command.

Regards,
-- 
Jean-Marc


  • Prev by Date: Re: Dynamic and J/Link
  • Next by Date: Re: Re: Mathematica notebooks the best method
  • Previous by thread: Re: ListPlot Joined/Filling bug?
  • Next by thread: Re: Re: Fast way to select those elements from a list