X-Received: by 10.157.20.102 with SMTP id h93mr2654808oth.5.1494420995699; Wed, 10 May 2017 05:56:35 -0700 (PDT) X-Received: by 10.157.31.68 with SMTP id x4mr123716otx.19.1494420995669; Wed, 10 May 2017 05:56:35 -0700 (PDT) Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.glorb.com!c26no340558itd.0!news-out.google.com!m134ni764itb.0!nntp.google.com!c26no340551itd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Wed, 10 May 2017 05:56:35 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=134.169.85.17; posting-account=dedIcwoAAABmOdEI-O6rB4FSB_rWQNqf NNTP-Posting-Host: 134.169.85.17 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Combining splot and plot From: phanlipo Injection-Date: Wed, 10 May 2017 12:56:35 +0000 Content-Type: text/plain; charset=UTF-8 Xref: csiph.com comp.graphics.apps.gnuplot:3637 Dear all, I would combine a splot of a matrix as a image with a normal plotted function. My datafile 'Matrix.dat' has following content: ___________ 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 ___________ And I'm plotting with following commands: ___________ set terminal postscript portrait enhanced clip color "Helvetica" 15 set encoding utf8 set size square set output 'Spektrum.ps' set view map set yrange [-0.5:4.5] set xrange [-0.5:4.5] set palette rgbformulae 22,13,-36 splot 'Matrix.dat' matrix using 2:1:3 w image plot x with lines ___________ A replot does not solve my problem. I would combine the two plots in one graphic. Best, phanlipo