Insertion of Greek letters in a graph legends using GNUplot -
i trying incorporate greek symbols graph using next code, maintain getting similar error twice.
warning: enhanced text mode parser - ignoring spurious }
warning: enhanced text mode parser - ignoring spurious }
reset # svg #set terminal svg size 410,250 fname "times new roman" \ set terminal svg size 410,250, enhanced fname 'times new roman' \ fsize "12" rounded dashed set output "data1.svg" set tics nomirror # color definitions set style line 1 lc rgb "#8b1a0e" pt 1 ps 1 lt 1 lw 2 # --- reddish set style line 2 lc rgb "#5e9c36" pt 2 ps 1 lt 2 lw 2 # --- greenish set key bottom right plot "abc.htm" using 1:2 title "n('\alpha', t)" w lp ls 1, \ "abc.htm" using 1:3 title "n(\beta, t)" w lp ls 5 ps: code running fine until enabled enhanced mode of svg terminal, needed inserting greek letters in graph legends. using version 4.6, patch level 5. can 1 help me out?
the right way
useenhanced alternative of terminal (you did) wite {/symbol a} alpha. search symbols + gnuplot on web, you'll find lists http://mathewpeet.org/lists/symbols/ codes understood gnuplot!
gnuplot
No comments:
Post a Comment