File:Log-factorial.PNG

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Log-factorial.PNG(600 × 464 pixels, file size: 24 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]

Image created on en.wiki by user MarkSweep

Plot of the natural logarithm of the factorial function (strictly speaking it's the gamma function)

Created with the following gnuplot script:

set samples 1001
set terminal postscript enhanced color solid lw 2 "Times-Roman" 27
set output
set key left
set grid
plot [0:20000] lgamma(x+1) title "ln(x!)"

Shell script for conversion to PNG format:

#! /bin/sh
set -e
TMPFILE=`mktemp gp2png-temp.XXXXXX`

gnuplot $1 |
gs -q -dNOPAUSE -dBATCH -sDEVICE=ppmraw -r200 -sOutputFile=- -f - |
pnmrotate -90 |
pnmscale 0.27272727272727 |
pnmtopng > $TMPFILE

pngcrush -brute $TMPFILE `basename $1 .gp`.png
rm -f $TMPFILE

Licensing

[edit]
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation 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.
This licensing tag was added to this file as part of the GFDL licensing update.
GNU head

This work 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 any later version. This work is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See version 2 and version 3 of the GNU General Public License for more details.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current19:22, 14 September 2006Thumbnail for version as of 19:22, 14 September 2006600 × 464 (24 KB)Xandi (talk | contribs)Plot of the natural logarithm of the factorial function (strictly speaking it's the gamma function) Created with the following gnuplot script: set samples 1001 set terminal postscript enhanced color solid lw 2 "Times-Roman" 27 set output

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file: