|
From: Tony2 <iak...@gm...> - 2012-09-27 21:53:03
|
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.
Thank you!
Here is the gnuplot script:
****************************************************
set term post eps enhanced color
set output "potential_alpha0.0.eps"
unset style
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 hidden3d
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
****************************************************
http://old.nabble.com/file/p34489221/potential_alpha0.0.png
--
View this message in context: http://old.nabble.com/splot-fails-to-use-user-defined-line-styles-for-contour-base-tp34489221p34489221.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|