|
From: Thomas S. <t.s...@fz...> - 2012-09-28 09:49:03
|
set term post eps enhanced color solid gives solid lines. Tony2 wrote: > > Dear all, > > I have the following problem: > I plot a three dimensional surface using 'splot' and 'set contour base'. > It appears to be that contour lines in the final eps image don't have the > line type that I have pre-defined in my user line styles. So instead of > all contours having lt 1 (solid line) as I have defined, all the contour > lines are dashed, dotted and whatever but solid. (but it looks like for > png terminal everything works fine) > I would be grateful for any help. The eps image and gnuplot script file > are below. > Thank you! > > P.S.: G N U P L O T > Version 4.6 patchlevel 0 last modified 2012-03-04 > Build System: Linux x86_64 > > > http://old.nabble.com/file/p34489221/potential_alpha0.0.png > Here is the gnuplot script: > **************************************************** > set term post eps enhanced color > set output "potential_alpha0.0.eps" > > set linestyle 1 lc rgb "blue" lt 1 lw 1 > set linestyle 2 lc rgb "navy" lt 1 lw 1 > set linestyle 3 lc rgb "#9400D3" lt 1 lw 1 > set linestyle 4 lc rgb "magenta" lt 1 lw 1 > set linestyle 5 lc rgb "red" lt 1 lw 1 > set linestyle 6 lc rgb "orange" lt 1 lw 1 > > set style increment userstyle > > a=-3 > b=0.25 > alpha = 0.0 > set xlabel "|{/Symbol y}|" > set ylabel "|{/Symbol f}|" > set zlabel "U(|{/Symbol y}|,|{/Symbol f}|)" > set samples 20, 20 > set isosamples 21, 21 > set cntrparam levels incremental -20,4,0 > set linetype 1 > set contour base > set xzeroaxis lt 1 lw 2 lc rgb "black" > set yzeroaxis lt 1 lw 2 lc rgb "black" > set xrange [-4:4] > set yrange [-4:4] > f(x,y) = b*(x**4+y**4) + a*(x**2+y**2) - alpha*x**2*y**2 > splot f(x,y) ls 2 > > set output > set terminal x1 > **************************************************** > -- View this message in context: http://old.nabble.com/splot-fails-to-use-user-defined-line-styles-for-contour-base-tp34489221p34490761.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |