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


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

Re: Voxels from expression

X-Received by 2002:a05:620a:4a:: with SMTP id t10mr6021086qkt.249.1619797234827; Fri, 30 Apr 2021 08:40:34 -0700 (PDT)
X-Received by 2002:a25:5a0a:: with SMTP id o10mr8061833ybb.7.1619797234572; Fri, 30 Apr 2021 08:40:34 -0700 (PDT)
Path csiph.com!xmission!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Fri, 30 Apr 2021 08:40:34 -0700 (PDT)
In-Reply-To <019a312f-cd5d-4ab6-9ba8-161b445b0bfan@googlegroups.com>
Injection-Info google-groups.googlegroups.com; posting-host=2601:500:c200:16e0:bc5e:3902:d538:6b18; posting-account=R1FlGgkAAACT4qWBRQlFZVvqWzeWlXEN
NNTP-Posting-Host 2601:500:c200:16e0:bc5e:3902:d538:6b18
References <84bc6376-5638-4642-8db6-b18030f18cden@googlegroups.com> <019a312f-cd5d-4ab6-9ba8-161b445b0bfan@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <6cee43e2-6c22-49f8-a059-29edb96e39c3n@googlegroups.com> (permalink)
Subject Re: Voxels from expression
From Al Greynolds <layzarc@aol.com>
Injection-Date Fri, 30 Apr 2021 15:40:34 +0000
Content-Type text/plain; charset="UTF-8"
Lines 28
Xref csiph.com comp.graphics.apps.gnuplot:4406

Show key headers only | View raw


On Friday, April 30, 2021 at 7:08:54 AM UTC-7, Gavin Buxton wrote:
> On Friday, April 30, 2021 at 9:22:50 AM UTC-4, Al Greynolds wrote: 
> > Can the new voxels capability display an isosurface of an expression, i.e. a given function of x,y,z? 
> > 
> > Al
> Apparently so.... 
> 
> https://lwn.net/Articles/828761/ 
> 
> although I've not played around with it. Looks awesome though!

Here's what I'm trying to do:

R=1
L=8
n=2
h=3
m=3
f(x,y,z)=x**2+(y-h*(z/L)**m)**2-(R*(1-(z/L)**n))**2
set vgrid $wh size 100
set vxrange [-R:R]
set vyrange [-R:h+R]
set vzrange [0:L]
vfill ?
splot $wh w isosurface level 0

Why does vfill require a file or datablock as a source? Why can''t my function f be used as easily as plot and splot allow plotting expressions/functions instead of files or datablocks?

Al 

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


Thread

Voxels from expression Al Greynolds <layzarc@aol.com> - 2021-04-30 06:22 -0700
  Re: Voxels from expression Gavin Buxton <gavinbuxton@gmail.com> - 2021-04-30 07:08 -0700
    Re: Voxels from expression Al Greynolds <layzarc@aol.com> - 2021-04-30 08:40 -0700
      Re: Voxels from expression Gavin Buxton <gavinbuxton@gmail.com> - 2021-05-01 07:02 -0700
        Re: Voxels from expression Al Greynolds <layzarc@aol.com> - 2021-05-04 06:59 -0700

csiph-web