Back to demo index

gnuplot demo script: pixmap.dem

autogenerated by webify.pl on Wed Aug 21 21:28:27 2024
gnuplot version gnuplot 6.1 last modified 2024-08-21
#
# Demonstrate use of 'set pixmap' to provide a slide background,
# a project logo, and a plot element
#
if (!strstrt(GPVAL_COMPILE_OPTIONS,"+GD_PNG") && !strstrt(GPVAL_COMPILE_OPTIONS,"+IMAGE_INPUT")) \
    print ">>> Skipping demo <<<\n" ; \
    print "This copy of gnuplot was built without support for loading png images" ;\
    exit ;

set pixmap 1 'gradient.png' at screen 0,0 size screen 1,1 behind
set pixmap 2 'icon64x64.png' at screen 0.02, 0.02 width screen 0.05 back
set pixmap 3 'aries.png' at polar 29., 1.11, 0.0 center width char 2.5

set lmargin 20

set label 101 at screen 0.05, 0.85 front
set label 101 "{/:Bold Pixmap use}\n" \
              . "\U+2022  Gradient used as a backdrop\n" \
              . "\U+2022  Project logo bottom left\n" \
              . "\U+2022  Icon (Aries) as plot element"

load 'armillary.dem'


Click here for minimal script to generate this plot