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


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

Re: plotting an adaptive mesh

Path csiph.com!1.us.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 11:18:50 +0100
Organization solani.org
Lines 44
Message-ID <o5kr2b$ct0$1@solani.org> (permalink)
References <b72ec22a-2510-4fe9-ac7f-ffd25801b221@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace solani.org 1484648331 13216 eJwFwYcBwDAIA7CXyjDjHEjq/0+IBAuJkx4IB8HmSRj+4RblbjWvgSnaNfh0XDuoFcb1Kj4omBEl (17 Jan 2017 10:18:51 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Tue, 17 Jan 2017 10:18:51 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
In-Reply-To <b72ec22a-2510-4fe9-ac7f-ffd25801b221@googlegroups.com>
Cancel-Lock sha1:d2S5985peFnXKQDIpVtwgsg/WEE=
X-User-ID eJwFwYEBgDAIA7CXwEKL5wwc/59gkqBzFExGbu7YTq905Vfd7mv+JBs6qsWJepuBEFTIz34lkBCn
X-NNTP-Posting-Host eJwFwYkBwEAEBMCWiGcpB0f/JWTGxNkH6uZqZ4dBtizviiWbArhpBenRy4jv3tBulWZFl/wa9RFy
Xref csiph.com comp.graphics.apps.gnuplot:3529

Show key headers only | View raw


Am 17.01.2017 um 10:54 schrieb maierd83@gmail.com:
> Hello,
> 
> I am doing some calculations on the basis of an adaptive mesh. So, my data look like:
> 
> |----|----|---------|---------|
> |  1 | 6  |         |         |
> |----|----|    4    |    9    |
> |  2 | 9  |         |         |
> |----|----|----|----|---------|
> |         |  1 | 8  |         |
> |    5    |----|----|    2    |
> |         |  8 | 5  |         |
> |---------|----|----|----|----|
> |         |         |  8 | 2  |
> |    1    |    4    |----|----|
> |         |         |  3 | 7  |
> |---------|---------|----|----|
> 
> I want to plot these data with an 2D heat map.
> 
> To do so, I am expanding the fine pitched mesh to the hole data set 
> and used "plot "data.dat" with image pixels".
> 
> This works, but it generates big data set (30MB) and also a big image (my used output is svg -> ~60MB) and is against the idea of an adaptive mesh.
> 

For a bitmap, you should use a bitmap output (e.g. png). A vector
graphic that consists of single pixels is simply a large waste of disk
space.

As for the plotting, "set dgrid3d" will not lead to exactly the same
result as filling each larger mesh with the same value, but perhaps
it'll suit your needs. Try out the different kernels.

Otherwise, you might write a program that expands the dataset (i.e.
fills out the larger meshes) online, and pipe the output into gnuplot.

  plot '< expand dataset.dat' with image

That way you don't have those large, redundant files lying around.

  Karl

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