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


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

Re: plotting an adaptive mesh

From Karl Ratzsch <mail.kfr@gmx.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: plotting an adaptive mesh
Date 2017-01-17 14:11 +0100
Organization solani.org
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>

Show all headers | 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