Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #597

Re: splot with variably translucent points

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: splot with variably translucent points
Followup-To comp.graphics.apps.gnuplot
Date 2011-09-22 19:05 -0700
Organization gnuplot development team
Message-ID <j5gpgm$oti$1@dont-email.me> (permalink)
References <055a7cbb-cb4d-4035-8c58-e293e18246c3@l27g2000prd.googlegroups.com>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


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
> 
> ===========

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Find similar


Thread

splot with variably translucent points fearless_fool <rdpoor@gmail.com> - 2011-09-22 14:47 -0700
  Re: splot with variably translucent points sfeam <sfeam@users.sourceforge.net> - 2011-09-22 19:05 -0700

csiph-web