MathGroup Archive 2008

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

Search the Archive

Re: Version 6 graphics can be painfully slow

  • To: mathgroup at smc.vnet.net
  • Subject: [mg84869] Re: Version 6 graphics can be painfully slow
  • From: Yves Klett <yves.klett at googlemail.com>
  • Date: Wed, 16 Jan 2008 23:11:56 -0500 (EST)
  • References: <fmkerk$72g$1@smc.vnet.net>

Szabolcs,

in 6.0x, Point (and Polygon) can take a list of points as arguments and
renders significantly faster:

data = Table[{Random[], Random[]}, {100000}];
Graphics[{PointSize[0.002], Point[data]},
   AspectRatio -> Automatic] // Show

Regards,
Yves

Szabolcs Horvát schrieb:
> In some cases, version 6 graphics can be painfully slow.  Consider this 
> example:
> 
> data = Table[{Random[], Random[]}, {100000}];
> Graphics[{PointSize[0.002], Point /@ data}, AspectRatio -> Automatic] // 
> Show
> 
> This used to work fine in version 5.2, but it takes forever to complete 
> in version 6.0.1.  I have a dataset with about 250 000 points that I 
> would like to plot, so this problem is really annoying ...
> 
> The strange thing is that as soon as the graphic appears, resizing is 
> fast and works fine (especially with antialiasing disabled).  So it is 
> not the /drawing/ itself that takes so long.
> 
> I really hope that these problems will be fixed in 6.1, but until then, 
> does anyone have a suggestion for speeding this up?
> 
> (At the moment I temporarily switch back to << Version5`Graphics`)
> 
> Szabolcs
> 



  • Prev by Date: N::meprec in LinearProgramming
  • Next by Date: Re: Can you minimize a notebook window from a notebook in Version 6?
  • Previous by thread: Re: Version 6 graphics can be painfully slow
  • Next by thread: Re: Version 6 graphics can be painfully slow