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


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

Re: plotting an adaptive mesh

Path csiph.com!2.eu.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: plotting an adaptive mesh
Date Tue, 17 Jan 2017 14:11:16 +0100
Organization solani.org
Lines 28
Message-ID <o5l55l$keg$1@solani.org> (permalink)
References <b72ec22a-2510-4fe9-ac7f-ffd25801b221@googlegroups.com> <o5kr2b$ct0$1@solani.org> <c8b4aecb-5e61-4b5b-9d4b-b7f3a1f06fe8@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace solani.org 1484658677 20944 eJwFwYEBwCAIA7CXmNIC5wy0/59ggs2PE07QISj4N3ity7QGOH1PaJnCnaO0OinclcA2VD4lBhDr (17 Jan 2017 13:11:17 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Tue, 17 Jan 2017 13:11:17 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
X-NNTP-Posting-Host eJwFwYERAEEEBLCWGJZXDs72X8InsNDY9EA4CFJNY/aO1p4rta99UrhX+p0pBa/I6eYY7gc4RRJ7
In-Reply-To <c8b4aecb-5e61-4b5b-9d4b-b7f3a1f06fe8@googlegroups.com>
X-User-ID eJwVxMERACEIBLCWUNkFygGR/ku4uTyCw8VrSlAxGAZds4ItuQp/I7b3m7TpFj83AJpUiPp+HxkqENE=
Cancel-Lock sha1:jrAVHdUmD1BWU8koQynWUrBww1o=
Xref csiph.com comp.graphics.apps.gnuplot:3533

Show key headers only | View raw


Am 17.01.2017 um 13:49 schrieb maierd83@gmail.com:

> My idea is to minimize the size of the data file and the image file. Furthermore, I want to reduce the calculation time of my program. At the moment the expanding of the adaptive mesh to a regular mesh takes longer than the calculation of the adaptive mesh data.

svg is the _wrong_ format to plot a bitmap. It takes up 30 or 40 bytes
_for every pixel_! Use jpeg or png. This will already speed up the task.

> So, I want definitely get rid of the idea of expansion.
> 
> 3) Plot each data point as a rectangle with the fillcolor equal to the 
>    color defined according to the color palette
> 
> The finer pitched data points (smaller rectangles) shall then be plotted on top of the bigger rectangles.

I don't think you use "set object" to print hundreds of thousands of
rectangles. I have no idea how to make gnuplot do that, except by
writing an additional program that translates your dataset into a
gnuplot script, and either way it will be horribly slow.

With huge datasets, the parsing of text data can be quite slow. Can you
output the expanded dataset in a binary (bitmap) format? How big (width
in x and y) is your dataset, anyway?


> set terminal svg size 800,600

see above.

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

plotting an adaptive mesh maierd83@gmail.com - 2017-01-17 01:54 -0800
  Re: plotting an adaptive mesh Karl Ratzsch <mail.kfr@gmx.net> - 2017-01-17 11:18 +0100
    Re: plotting an adaptive mesh maierd83@gmail.com - 2017-01-17 04:49 -0800
      Re: plotting an adaptive mesh Karl Ratzsch <mail.kfr@gmx.net> - 2017-01-17 14:11 +0100
        Re: plotting an adaptive mesh maierd83@gmail.com - 2017-01-17 06:05 -0800
          Re: plotting an adaptive mesh Karl Ratzsch <mail.kfr@gmx.net> - 2017-01-17 15:25 +0100
            Re: plotting an adaptive mesh maierd83@gmail.com - 2017-01-17 07:25 -0800
              svg with bitmap image graph? (was: Re: plotting an adaptive mesh) Karl Ratzsch <mail.kfr@gmx.net> - 2017-01-17 21:36 +0100
                Re: svg with bitmap image graph? (was: Re: plotting an adaptive mesh) Ethan A Merritt <sfeam@users.sourceforge.net> - 2017-01-17 14:41 -0800
  Re: plotting an adaptive mesh maierd83@gmail.com - 2017-01-17 06:07 -0800

csiph-web