File:Neg exp.svg

Summary

Description
English: The exponential function exp(-x) on the interval −5 ≤ x ≤ 5. Grid unit is 1 along both axes. The cubic spline interpolation in the SVG file has an absolute error less than 9 × 10−4 on the shown interval.
Date
Source Own work
Author IkamusumeFan

Gnuplot

# Author: Ika, 2013/08/21

set term svg size 800,600 enhanced font 'Times, 12'
set output 'neg_exp.svg'

set multiplot

set xrange [-5:5]
set yrange [-1:9]
set xtics 1
set ytics 1
set xzeroaxis lt -1 lc rgb "black" lw 1
set yzeroaxis lt -1 lc rgb "black" lw 1

unset label
set label "(-1,e)" at -3,2 font "Times, 48"
set label "(0,1)" at 1,1 font "Times, 48"

# Draw the exponential function
set key off

set line style 1 lt 2 lc rgb "gray" lw 1
set grid back ls 1.5

plot exp(-1*x) lc rgb "blue" lw 5
set pointsize 1
plot '-' w p lc rgb 'black' pt 7
0 1
-1 2.71828
e

unset multiplot
set term x11
set output

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Category:CC-BY-SA-3.0#Neg%20exp.svgCategory:Self-published work
Category:Natural exponential function Category:Exponential functions Category:Images with Gnuplot source code
Category:CC-BY-SA-3.0 Category:Exponential functions Category:Images with Gnuplot source code Category:Natural exponential function Category:Self-published work