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


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

How to plot graphic in Windows?

X-Received by 2002:a37:8847:: with SMTP id k68mr1695666qkd.474.1586478528303; Thu, 09 Apr 2020 17:28:48 -0700 (PDT)
X-Received by 2002:aca:c0c3:: with SMTP id q186mr80001oif.174.1586478527959; Thu, 09 Apr 2020 17:28:47 -0700 (PDT)
Path csiph.com!xmission!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Thu, 9 Apr 2020 17:28:47 -0700 (PDT)
Complaints-To groups-abuse@google.com
Injection-Info google-groups.googlegroups.com; posting-host=174.17.94.97; posting-account=JlHXFwoAAAB-Z4lpNURZF7izOESwbDb8
NNTP-Posting-Host 174.17.94.97
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <da4ec435-81fe-4a6a-a244-7a00eec6cf8f@googlegroups.com> (permalink)
Subject How to plot graphic in Windows?
From eridanibrew@gmail.com
Injection-Date Fri, 10 Apr 2020 00:28:48 +0000
Content-Type text/plain; charset="UTF-8"
Lines 25
Xref csiph.com comp.graphics.apps.gnuplot:4315

Show key headers only | View raw


I would like to place a background image on a plot, like a watermark or logo.

I am trying the following code (stolen from another site), which fails with the message
"imgSimple.gpl" line 15: libgd doesn't recognize the format of "D:/Dropbox/CoolStu
ff/Pickleball/PaddleTester/VendorPaddleData/Selkirk.png"

It also rejects .jpg files

I am running 5.2 patchlevel 8 on a windows 10 1909 machine.

[code]
f="D:/Dropbox/CoolStuff/Pickleball/PaddleTester/VendorPaddleData/Selkirk.png" 

reset
set term windows
set xrange [0:2399] 
set yrange [0:2999]
unset tics
unset border
set lmargin at screen 0.175
set rmargin at screen 0.9
set bmargin at screen 0.15
set tmargin at screen 0.9
#Plot the background image
plot f binary filetype=png w rgbimage
[/code]

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


Thread

How to plot graphic in Windows? eridanibrew@gmail.com - 2020-04-09 17:28 -0700
  Re: How to plot graphic in Windows? eridanibrew@gmail.com - 2020-04-12 16:11 -0700

csiph-web