1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
# EX_COVER.PPL
#
# The code in this file is part of PyXPlot
# <http://www.pyxplot.org.uk>
#
# Copyright (C) 2006-8 Dominic Ford <coders@pyxplot.org.uk>
# 2008 Ross Church
#
# $Id: ex_cover.ppl 192 2008-04-19 13:53:32Z dcf21 $
#
# PyXPlot is free software; you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# You should have received a copy of the GNU General Public License along with
# PyXPlot; if not, write to the Free Software Foundation, Inc., 51 Franklin
# Street, Fifth Floor, Boston, MA 02110-1301, USA
# ----------------------------------------------------------------------------
# This script produces a figure for the PyXPlot Users' Guide
# Call common initialisation script
reset
set term eps colour
set size square
set width 2.54
set dpi 32
# Set output destination
set output "icon.eps"
# Main body of figure script
set multiplot
set nodisplay
set xlabel 'invisible'
set ylabel 'invisible'
set x2label 'invisible'
set y2label 'invisible'
set nokey
logo_x = 0.0
logo_y = 0.0
set textcolour Black
set label 1 '\Huge \bf {P\kern-.3em\lower.5ex\hbox{Y}\kern-.18em X}' at -9.5 , 0.5 with colour blue
set origin logo_x, logo_y
p [-9.5:4.8][-0.75:0.60] - x*exp(-x**2) + \
(1/(exp((x-1)*3)+1) - 0.5)/4 - 0.2 with l lw 8 colour maroon
# Now that we are finished preparing multiplot,
# turn display on
set display
refresh
|