i have data file x, y, , z datums--basically x,y locations z representing attenuation @ location.
the answer question line plot in gnuplot line color third column in data file? using palette defined (with palette z) close, except each line segment set single color along length.
is there way have z value interpolated (linear fine) along each segment, attenuation values smooth gradient rather jumping values @ each segment boundary?
you can use set dgrid3d interpolate given data set. consider data file test.dat content
1 2 1 2 3 2 1 1 2 plot
set dgrid3d 30,30 splines set ticslevel 0 set hidden3d splot 'test.dat' matrix w l lc palette lw 3 to get

if works in case depends on several other factors, number of data points or if don't want create new grid, retain original grid, , smooth colors. in latter case must write external script prepare data in appropriate way.
Comments
Post a Comment