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


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

Re: splot with variably translucent points

Newsgroups comp.graphics.apps.gnuplot
Date 2013-09-10 09:26 -0700
References <055a7cbb-cb4d-4035-8c58-e293e18246c3@l27g2000prd.googlegroups.com>
Message-ID <30fe7403-8eb0-4d23-b9be-3cc76ec5ffe1@googlegroups.com> (permalink)
Subject Re: splot with variably translucent points
From v.p.lipp@gmail.com

Show all headers | View raw


On Thursday, September 22, 2011 11:47:31 PM UTC+2, 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.
> 
> 
> 
> 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?
> 
> 
> 
> 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
> 
> 
> 
> ===========

Thank you guys for the hint. I would like to go further and try to plot a 5D-graph with circles using variable color, radii, and transparency. Is this possible?
Without transparency it looks like

plot 'something.dat' using 1:2:3:4 with points pt 7 ps variable lc palette

I expect something like

plot 'something.dat' using 1:2:3:4:5 with points pt 7 ps variable lc palette transparency variable

Could not find anything using search.

Thanks in advance!

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


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
  Re: splot with variably translucent points v.p.lipp@gmail.com - 2013-09-10 09:26 -0700

csiph-web