Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #2591

Re: Large plot performance help

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail
From Hans-Bernhard Bröker <HBBroeker@t-online.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Large plot performance help
Date Mon, 22 Sep 2014 20:23:54 +0200
Lines 21
Message-ID <c8b7opFk6emU1@mid.dfncis.de> (permalink)
References <ad72a35f-3953-4971-b5d4-0748d2b030ad@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.dfncis.de jLmKuTuoKtdR77i9xA4qmA6xIFlYxePOOIT0ar30g3vRfC4qjgQ32U+gAG
Cancel-Lock sha1:FFziz9djnjiZ5h74aEhUJttI0KM=
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.1.1
In-Reply-To <ad72a35f-3953-4971-b5d4-0748d2b030ad@googlegroups.com>
Xref csiph.com comp.graphics.apps.gnuplot:2591

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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