X-Received: by 10.107.173.142 with SMTP id m14mr2099087ioo.36.1478898668026; Fri, 11 Nov 2016 13:11:08 -0800 (PST) X-Received: by 10.157.11.120 with SMTP id p53mr430034otd.19.1478898667988; Fri, 11 Nov 2016 13:11:07 -0800 (PST) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!q124no788641itd.0!news-out.google.com!c26ni2355itd.0!nntp.google.com!e187no792927itc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Fri, 11 Nov 2016 13:11:07 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=197.253.254.0; posting-account=jqJ3-QoAAABuVMiNBqyAYkGFJILIo0V4 NNTP-Posting-Host: 197.253.254.0 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: contour in gnuplot From: mohammed mouhcine Injection-Date: Fri, 11 Nov 2016 21:11:08 +0000 Content-Type: text/plain; charset=UTF-8 Xref: csiph.com comp.graphics.apps.gnuplot:3448 my script::: # Set terminal and output set terminal postscript enhanced color set output 'plot.ps' # Set various features of the plot set pm3d unset surface # don't need surfaces set view map set contour set key outside set cntrparam cubicspline # smooth out the lines set cntrparam levels 50 # sets the num of contour lines set pm3d interpolate 20,20 # interpolate the color # Set a nice color palette set palette model RGB defined ( 0"black", 1"blue", 2"cyan",3"green",4"yellow",\ 5"red",8"purple" ) # Axes set xlabel 'X' set ylabel 'Y' set format x '%.1f' set format y '%.1f' set format z '%.2f' set size square # Now plot splot 'data.dat' using 1:2:3 notitle with lines lt 1 data file ::: 0.00000 0.00000 0.00000 0.10000 0.00000 0.00000 0.20000 0.00000 0.00000 0.30000 0.00000 0.00000 0.40000 0.00000 0.00000 0.50000 0.00000 0.00000 0.60000 0.00000 0.00000 0.70000 0.00000 0.00000 0.80000 0.00000 0.00000 0.90000 0.00000 0.00000 1.00000 0.00000 0.00000 0.00000 0.10000 0.00000 0.10000 0.10000 0.00869 0.20000 0.10000 0.01654 0.30000 0.10000 0.02276 0.40000 0.10000 0.02676 0.50000 0.10000 0.02813 0.60000 0.10000 0.02676 0.70000 0.10000 0.02276 0.80000 0.10000 0.01654 0.90000 0.10000 0.00869 1.00000 0.10000 0.00000 in complation : erreur after compulation::: "d.gnu", line 14: undefined variable: quot