Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: sfeam Newsgroups: comp.graphics.apps.gnuplot Subject: Re: splot with variably translucent points Followup-To: comp.graphics.apps.gnuplot Date: Thu, 22 Sep 2011 19:05:09 -0700 Organization: gnuplot development team Lines: 33 Message-ID: References: <055a7cbb-cb4d-4035-8c58-e293e18246c3@l27g2000prd.googlegroups.com> Reply-To: sfeam@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Fri, 23 Sep 2011 02:05:10 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="a5sqwvDD9P994JK/mw/xtg"; logging-data="25522"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX192uErGpGZ17rsN2L3T9mEB" User-Agent: KNode/4.4.9 Cancel-Lock: sha1:LOOUlETtJjihoRKaO+kMSWQBYk0= Xref: x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:597 fearless_fool wrote: > I want to visualize a minimization problem over three input variables > and one result. With only two input variables, the visualization > problem would be trivial. Isn't this just a 3D heat map? E.g. 3rd plot in http://gnuplot.sourceforge.net/demo_cvs/heatmaps.html > My thought is to use splot to plot 3D points, with the most opaque > point(s) representing the minima, and more translucent points as it > deviates from the minima. This way, you should be able to see a > cluster of dark points near the minimum. > > How do I set the transparency of each point from the input data? Sorry, the only plot style that currently supports variable alpha is "with rgbalpha". > Without variable transparency, I've got something as follows. I'd > like to use $4 to control the transparency. > =========== > set terminal pngcairo truecolor > set view 60, 136, 1.22, 1.26 > splot "-" using 1:2:3 with points pointtype 7 pointsize 2 linecolor > rgb '#444444' > 3 -4 -4 37.767 > 3 -4 -6 37.744 > ... > end > > ===========