|
From: Bernd G. <gri...@un...> - 2006-07-09 21:34:10
|
Hi there, I have a problem with the grid of the surface plotting some experimental data. I have two plots made (see attachment) using this little script: ++++++++++++++++++++++++++++++ unset clip points set clip one unset clip two set bar 1.000000 set border 31 lt -1 lw 1.000 set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x,y set format x "%g" set format y "%g" set format x2 "%g" set format y2 "%g" set format z "%g" set angles radians unset grid set key title "" unset key unset label unset arrow set nolinestyle unset logscale set offsets 0, 0, 0, 0 set pointsize 1 set encoding iso_8859_1 unset polar unset parametric set view 60, 30, 1, 1 set samples 100, 100 set isosamples 10, 10 set surface unset contour set clabel '%8.3g' set mapping cartesian set hidden3d offset 1 trianglepattern 3 undefined 1 altdiagonal bentover set cntrparam order 4 set cntrparam linear set cntrparam levels auto 5 set cntrparam points 5 set size ratio 0 1,1 set origin 0,0 set data style lines set function style lines set xzeroaxis lt -2 lw 1.000 set x2zeroaxis lt -2 lw 1.000 set yzeroaxis lt -2 lw 1.000 set y2zeroaxis lt -2 lw 1.000 set tics in set ticslevel 0 set ticscale 1 0.5 set mxtics default set mytics default set mx2tics default set my2tics default set xtics border mirror norotate autofreq set ytics border mirror norotate autofreq set ztics border nomirror norotate autofreq unset x2tics unset y2tics set title "" 0.000000,0.000000 "" set timestamp "" bottom norotate 0.000000,0.000000 "" set rrange [ * : * ] noreverse nowriteback # (currently [-0.00000:10.0000] ) set trange [ * : * ] noreverse nowriteback # (currently [-5.00000:5.00000] ) set urange [ * : * ] noreverse nowriteback # (currently [-5.00000:5.00000] ) set vrange [ * : * ] noreverse nowriteback # (currently [-5.00000:5.00000] ) set xlabel "data point" 0.000000,0.000000 "" set x2label "" 0.000000,0.000000 "" set timefmt "%d/%m/%y\n%H:%M" set xrange [ 20.0000 : 100.000 ] noreverse nowriteback set x2range [ * : * ] noreverse nowriteback # (currently [-10.0000:10.0000] ) set ylabel "Zeit [s]" 0.000000,0.000000 "" set y2label "" 0.000000,0.000000 "" set yrange [ * : * ] noreverse nowriteback # (currently [-10.0000:10.0000] ) set y2range [ * : * ] noreverse nowriteback # (currently [-10.0000:10.0000] ) set zlabel "Absorption" 0.000000,0.000000 "" set zrange [ * : * ] noreverse nowriteback # (currently [-10.0000:10.0000] ) set zero 1e-08 set lmargin -1 set bmargin -1 set rmargin -1 set tmargin -1 set locale "C" splot 'normalized3d.dat' ev :10::3700::4300 u 1:(column(-1)/2):2 ++++++++++++++++++++++++++ I know there are some parameters which are not used for plotting those plots in the attachment. Plot1 is more or less how I want them to look like. Plot2 is made from a data file which has twice as much data points as the datafile for plot1. As one can see the surface is too "dark". Is it possible to make the grid of the surface in plot2 look like the grid in plot1? To be more precisely, is it possible to use for the grid (and only for the grid) every second data point instead of every data point without loosing the resolution of the plot? I don't want something like: splot 'normalized3d.dat' ev 2:10::3700::4300 u 1:(column(-1)/2):2 Set iso/samples is not working for the data file. How can I make the numbers not overlapping each other and not overlapping the axes? How can I get rid of the -0.2 of the z-axes (ticslevel should not change)? Thank you for your help! regards, Bernd |