Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #2591
| From | Hans-Bernhard Bröker <HBBroeker@t-online.de> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Large plot performance help |
| Date | 2014-09-22 20:23 +0200 |
| Message-ID | <c8b7opFk6emU1@mid.dfncis.de> (permalink) |
| References | <ad72a35f-3953-4971-b5d4-0748d2b030ad@googlegroups.com> |
Am 22.09.2014 um 13:20 schrieb jesramsing@gmail.com: > I have some reasonable sized 3D arrays that I am working with (~3500 > x 488 x 1) which basically is a height map. Actually that's quite a bit larger than "reasonable". There's no way you'll be able to make out the level of detail of those data on-screen. You have about as many data points in there as pixels on any feasible screen --- there's just no way you'll be able to make out lines between those points, at that resolution. So you might as well plot that mass of data 'with dots'. That should be faster, too. > The performance is quite bad when I try to rotate it. The current > file I am working on is 28megs, but since I am running on an I7 with > Flashdisk then it should not take long to load. What you probably don't recognize is that gnuplot may have to re-read that entire data file on every step of that rotation. And it has to parse it all from decimal ASCII to binary float every time. That's what makes this so slow: 1.7 million scanf() calls per re-draw will take time. A binary data file would be a good deal smaller, and much faster to handle.
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Large plot performance help jesramsing@gmail.com - 2014-09-22 04:20 -0700
Re: Large plot performance help Ethan A Merritt <EAMerritt@gmail.com> - 2014-09-22 08:54 -0700
Re: Large plot performance help Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2014-09-22 20:23 +0200
Re: Large plot performance help Karl <mail.kfr@gmx.net> - 2014-09-24 17:17 +0200
csiph-web