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


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

Re: Voxels from expression

X-Received by 2002:a05:620a:4143:: with SMTP id k3mr10377682qko.497.1619877732142; Sat, 01 May 2021 07:02:12 -0700 (PDT)
X-Received by 2002:a5b:191:: with SMTP id r17mr14453574ybl.297.1619877731821; Sat, 01 May 2021 07:02:11 -0700 (PDT)
Path csiph.com!3.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Sat, 1 May 2021 07:02:11 -0700 (PDT)
In-Reply-To <6cee43e2-6c22-49f8-a059-29edb96e39c3n@googlegroups.com>
Injection-Info google-groups.googlegroups.com; posting-host=2601:547:300:da50:f165:3d1d:7dbe:a4f5; posting-account=yC8mVwkAAADuRBqBIdPVfec50l5EMdYn
NNTP-Posting-Host 2601:547:300:da50:f165:3d1d:7dbe:a4f5
References <84bc6376-5638-4642-8db6-b18030f18cden@googlegroups.com> <019a312f-cd5d-4ab6-9ba8-161b445b0bfan@googlegroups.com> <6cee43e2-6c22-49f8-a059-29edb96e39c3n@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <4ef3a3b5-4b56-4de0-9415-8754005d7ef5n@googlegroups.com> (permalink)
Subject Re: Voxels from expression
From Gavin Buxton <gavinbuxton@gmail.com>
Injection-Date Sat, 01 May 2021 14:02:12 +0000
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
Xref csiph.com comp.graphics.apps.gnuplot:4407

Show key headers only | View raw


On Friday, April 30, 2021 at 11:40:35 AM UTC-4, Al Greynolds wrote:
> 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

Hopefully someone else can help, but you used to be able to set terminal as 'table' and output functions to a file. Assuming videos requires discrete points. Hopefully someone has more experience with voxels. Thanks for asking the question though, as I didn't this was a new feature!

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