This example shows the use of the SMOOTH modifier for data tables.
No PDE system is solved in this example, it is purely a display of TABLE data.
title 'Smooth Table Input Test'
ts = table('table_s.tbl')
tsx = smooth(1,0) table('table_s.tbl')
tsy = smooth(0,1) table('table_s.tbl')
tsxy = smooth(1,1) table('table_s.tbl')
line to (0,0) to (size,0) to (size,size) to close
surface(ts) as 'Table'
surface(tsx) as 'X-smooth'
surface(tsy) as 'Y-smooth'
surface(tsxy) as 'XY-smooth'
elevation(ts,tsx) from(0,size/2) to (size,size/2) as 'X-smooth'
elevation(ts,tsy) from(size/2,0) to (size/2,size) as 'Y-smooth'
elevation(ts,tsxy) from(size/2,0) to (size/2,size) as 'XY-smooth'