Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #596 > unrolled thread
| Started by | fearless_fool <rdpoor@gmail.com> |
|---|---|
| First post | 2011-09-22 14:47 -0700 |
| Last post | 2013-09-10 09:26 -0700 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
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
| From | fearless_fool <rdpoor@gmail.com> |
|---|---|
| Date | 2011-09-22 14:47 -0700 |
| Subject | splot with variably translucent points |
| Message-ID | <055a7cbb-cb4d-4035-8c58-e293e18246c3@l27g2000prd.googlegroups.com> |
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 ===========
[toc] | [next] | [standalone]
| From | sfeam <sfeam@users.sourceforge.net> |
|---|---|
| Date | 2011-09-22 19:05 -0700 |
| Message-ID | <j5gpgm$oti$1@dont-email.me> |
| In reply to | #596 |
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
>
> ===========
[toc] | [prev] | [next] | [standalone]
| From | v.p.lipp@gmail.com |
|---|---|
| Date | 2013-09-10 09:26 -0700 |
| Message-ID | <30fe7403-8eb0-4d23-b9be-3cc76ec5ffe1@googlegroups.com> |
| In reply to | #596 |
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!
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web