Can the new voxels capability display an isosurface of an expression, i.e. a given function of x,y,z?
Al
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?
AlApparently so....
https://lwn.net/Articles/828761/
although I've not played around with it. Looks awesome though!
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?
AlApparently 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
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 286 |
Nodes: | 16 (2 / 14) |
Uptime: | 82:56:54 |
Calls: | 6,495 |
Calls today: | 6 |
Files: | 12,096 |
Messages: | 5,276,825 |