label - key colors in a contour plot -
i'm trying make contour plot. current script have got following figure:
here script used produce figure:
#!/usr/bin/gnuplot set term png font ",18" enh size 1000,1000 set view map unset surface set contour base set cntrparam level incremental 0.005, 0.02, 0.5 set key @ screen 1, 0.9, 0 set rmargin 0.50 # a=6.3457 set xra[0.:2.60*a] set yra[0.:1.73*a] set xtics out nomirror set ytics axis in offset -4.0,0 nomirror set label "r (a.u)" @ 3.4,-2.2 center set label "r (a.u)" @ -1.7,2.5 rotate 90 center set out 'm.1.-1.112.3.888.png' splot 'm.1.-1.112.3.888.dat' u 1:2:3 w l lw 2 t ''
my problem don't how colors in key indicate values, seem change randomly. there way (gnuplot command) make colors change gradually, following?
you have change lintetypes
manually, like:
set linetype 1 lc rgb "#b22222" set linetype 2 lc rgb "#b22233" set linetype 3 lc rgb "#b22244" set linetype 4 lc rgb "#b22255" # ect...
or
set style line 1 lc rgb "#b22222" set style line 2 lc rgb "#b22233" set style line 3 lc rgb "#b22244" set style line 4 lc rgb "#b22255" # ect...
Comments
Post a Comment