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


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

Re: Voxels from expression

Newsgroups comp.graphics.apps.gnuplot
Date 2021-05-01 07:02 -0700
References <84bc6376-5638-4642-8db6-b18030f18cden@googlegroups.com> <019a312f-cd5d-4ab6-9ba8-161b445b0bfan@googlegroups.com> <6cee43e2-6c22-49f8-a059-29edb96e39c3n@googlegroups.com>
Message-ID <4ef3a3b5-4b56-4de0-9415-8754005d7ef5n@googlegroups.com> (permalink)
Subject Re: Voxels from expression
From Gavin Buxton <gavinbuxton@gmail.com>

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