X-Received: by 10.129.162.6 with SMTP id z6mr8026511ywg.15.1468040264312; Fri, 08 Jul 2016 21:57:44 -0700 (PDT) X-Received: by 10.36.110.134 with SMTP id w128mr471585itc.3.1468040264259; Fri, 08 Jul 2016 21:57:44 -0700 (PDT) Path: csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!c52no112086qte.1!news-out.google.com!d68ni1229ith.0!nntp.google.com!jk6no14379155igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Fri, 8 Jul 2016 21:57:43 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=124.149.102.120; posting-account=RVj5TgoAAAD08Ga9lnKq1UUWBvlJsazy NNTP-Posting-Host: 124.149.102.120 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <60d3a829-998d-4b1c-893b-6a02175f90ff@googlegroups.com> Subject: splot "xyz.txt" - parametric color plot From: kdliss@gmail.com Injection-Date: Sat, 09 Jul 2016 04:57:44 +0000 Content-Type: text/plain; charset=UTF-8 X-Received-Bytes: 2982 X-Received-Body-CRC: 829075303 Xref: csiph.com comp.graphics.apps.gnuplot:3369 Hi there, I can plot 2D data on a color-map with parametric x,y,z values, i.e. the following works as needed: reset;set pm3d map interpolate 1,1;set size ratio -1;splot "xyz.txt" notitle where "xyz.txt" contains: 1.000000000000000E+00 0.000000000000000E+00 0.000000000000000E+00 1.000000000000000E+00 1.000000000000000E+00 1.000000000000000E+00 1.000000000000000E+00 2.000000000000000E+00 2.000000000000000E+00 2.000000000000000E+00 0.000000000000000E+00 0.000000000000000E+00 2.000000000000000E+00 2.000000000000000E+00 4.000000000000000E+00 2.000000000000000E+00 4.000000000000000E+00 8.000000000000000E+00 3.000000000000000E+00 0.000000000000000E+00 0.000000000000000E+00 3.000000000000000E+00 3.000000000000000E+00 9.000000000000000E+00 3.000000000000000E+00 6.000000000000000E+00 1.800000000000000E+01 4.000000000000000E+00 0.000000000000000E+00 0.000000000000000E+00 4.000000000000000E+00 4.000000000000000E+00 1.600000000000000E+01 4.000000000000000E+00 8.000000000000000E+00 3.200000000000000E+01 5.000000000000000E+00 0.000000000000000E+00 0.000000000000000E+00 5.000000000000000E+00 5.000000000000000E+00 2.500000000000000E+01 5.000000000000000E+00 1.000000000000000E+01 5.000000000000000E+01 ========== MY PROBLEM: I want to store the data in a binary file "xyz.bin" and reproduce the same figure. MY QUESTIONS: - how to arrange data in the binary file - how to produce the plot (i guess, I need the right 'record' setting) meanwhile I tried the following * I made a datafile containing the float numbers: 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5 0 1 2 0 2 4 0 3 6 0 4 8 0 5 10 0 1 2 0 4 8 0 9 18 0 16 32 0 25 50 and I called something like reset;set pm3d map interpolate 1,1;splot "xyz.bin" binary format="%double" record=..... without success! who can help, please? cheers, kdliss