X-Received: by 10.50.43.162 with SMTP id x2mr13504313igl.9.1437992321491; Mon, 27 Jul 2015 03:18:41 -0700 (PDT) X-Received: by 10.140.97.55 with SMTP id l52mr450631qge.36.1437992321441; Mon, 27 Jul 2015 03:18:41 -0700 (PDT) Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!f3no3442586igg.0!news-out.google.com!4ni82342qgh.1!nntp.google.com!z61no3552842qge.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Mon, 27 Jul 2015 03:18:41 -0700 (PDT) In-Reply-To: <418775fc-6ff0-4a3b-b6b1-ba10e1d99264@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=141.3.154.28; posting-account=eQNSZAoAAAB_AW6VVGi3SvwxuJk_xQUZ NNTP-Posting-Host: 141.3.154.28 References: <418775fc-6ff0-4a3b-b6b1-ba10e1d99264@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <5702d3dc-4c74-49a3-9c75-5f6d5e27e59a@googlegroups.com> Subject: Re: How to pm3d plot a kind of randomized data set From: "Phil B." Injection-Date: Mon, 27 Jul 2015 10:18:41 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: csiph.com comp.graphics.apps.gnuplot:3000 I have a relating question, so I'm reviving my own thread. The Data file 3dRnd.dat is given in x1 y1 z1 x2 y2 z2 x3 y3 z3 .... So there is an empty line between each data points. I'm plotting it now with Karl's Suggestion set dgrid3d set palette rgbformulae 22,13,-31 set view map set nokey splot "./DATA/3dRnd.dat" us 1:2:($3<1e300 ? $3 : 1/0) w pm3d Now I want to add the Minimum (of the z value) as a special marked area in this plot. I already found the stats Command , given by stats ./3dRnd.dat' using 3 prefix A I can also plot this Minimum area with the command splot './DATA/3dRnd.dat' us ($3==A_min? $1 : 1/0) : ($3 == A_min ? $2 : 1/0) : ($3==A_min ? $3 : 1/0) w pm3d how can I make a palette that especially uses some flashy colour (like purple) if $3==A_min and in the other cases it uses the rgbformulae 22,13,-31 ? Thanks for your advice.