<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to Is it possible to splot an rgb float format  image by channel?</title><link>https://sourceforge.net/p/gnuplot/discussion/5925/thread/bcef24ffbe/</link><description>Recent posts to Is it possible to splot an rgb float format  image by channel?</description><atom:link href="https://sourceforge.net/p/gnuplot/discussion/5925/thread/bcef24ffbe/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 30 Mar 2022 18:33:11 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/gnuplot/discussion/5925/thread/bcef24ffbe/feed.rss" rel="self" type="application/rss+xml"/><item><title>Is it possible to splot an rgb float format  image by channel?</title><link>https://sourceforge.net/p/gnuplot/discussion/5925/thread/bcef24ffbe/?limit=25#a5c0</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Is it possible to splot an rgb float format  image by channel?&lt;/p&gt;
&lt;p&gt;I do not seem to be able to get that to work?&lt;/p&gt;
&lt;p&gt;The following works to get the red channel plot:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;gnuplot&amp;lt;&amp;lt;EOF&lt;br/&gt;
set terminal png medium size 600,500 background rgb "white"&lt;br/&gt;
set output "y.png"&lt;br/&gt;
set xrange &lt;span&gt;[0:128]&lt;/span&gt;&lt;br/&gt;
set yrange &lt;span&gt;[0:128]&lt;/span&gt; reverse&lt;br/&gt;
set zrange &lt;span&gt;[0:1]&lt;/span&gt;&lt;br/&gt;
set xyplane at 0&lt;br/&gt;
set nokey&lt;br/&gt;
set border 4095 linecolor rgb "black"&lt;br/&gt;
set multiplot layout 1,1&lt;br/&gt;
splot "y.rgb" binary array=128x128 format='%f%f%f' flipy every 3:3 using 1:2:3 with lines linetype rgb "red"&lt;br/&gt;
unset multiplot&lt;br/&gt;
EOF&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;But the following does not work to get the green channel plot.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;gnuplot&amp;lt;&amp;lt;EOF&lt;br/&gt;
set terminal png medium size 600,500 background rgb "white"&lt;br/&gt;
set output "y.png"&lt;br/&gt;
set xrange &lt;span&gt;[0:128]&lt;/span&gt;&lt;br/&gt;
set yrange &lt;span&gt;[0:128]&lt;/span&gt; reverse&lt;br/&gt;
set zrange &lt;span&gt;[0:1]&lt;/span&gt;&lt;br/&gt;
set xyplane at 0&lt;br/&gt;
set nokey&lt;br/&gt;
set border 4095 linecolor rgb "black"&lt;br/&gt;
set multiplot layout 1,1&lt;br/&gt;
splot "y.rgb" binary array=128x128 format='%f%f%f' flipy every 3:3 using 1:2:3 with lines linetype rgb "red"&lt;br/&gt;
splot "y.rgb" binary array=128x128 format='%f%f%f' flipy every 3:3 using 1:2:4 with lines linetype rgb "green"&lt;br/&gt;
unset multiplot&lt;br/&gt;
EOF&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Can someone help me to get this to work or confirm that it is not possible?&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;Currently using gnuplot 5.4.2
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Fred Weinhaus</dc:creator><pubDate>Wed, 30 Mar 2022 18:33:11 -0000</pubDate><guid>https://sourceforge.netf114a96bf8f69e71d10ba767f322d2eea8f39608</guid></item></channel></rss>