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


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

How to plot graphic in Windows?

Newsgroups comp.graphics.apps.gnuplot
Date 2020-04-09 17:28 -0700
Message-ID <da4ec435-81fe-4a6a-a244-7a00eec6cf8f@googlegroups.com> (permalink)
Subject How to plot graphic in Windows?
From eridanibrew@gmail.com

Show all headers | 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