Image:Log-factorial.PNG

From Wikipedia, the free encyclopedia

Wikimedia Commons logo This is a file from the Wikimedia Commons. The description on its description page there is shown below.
Commons is a freely licensed media file repository. You can help.

[edit] Sumário

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

[edit] Licensing

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".

Aragonés | العربية | Asturianu | Български | বাংলা | ইমার ঠার/বিষ্ণুপ্রিয়া মণিপুরী | Brezhoneg | Bosanski | Català | Cebuano | Česky | Dansk | Deutsch | Ελληνικά | English | Esperanto | Español | Eesti | Euskara | فارسی | Suomi | Français | Gaeilge | Galego | עברית | Hrvatski | Magyar | Bahasa Indonesia | Ido | Íslenska | Italiano | 日本語 | ქართული | ភាសាខ្មែរ | 한국어 | Kurdî / كوردی | Latina | Lëtzebuergesch | Lietuvių | Bahasa Melayu | Nnapulitano | Nederlands | ‪Norsk (nynorsk)‬ | ‪Norsk (bokmål)‬ | Occitan | Polski | Português | Română | Русский | Slovenčina | Slovenščina | Shqip | Српски / Srpski | Svenska | తెలుగు | ไทย | Türkçe | Українська | اردو | Tiếng Việt | Volapük | Yorùbá | ‪中文(中国大陆)‬ | ‪中文(台灣)‬ | +/-

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.

العربية | Català | Česky | Deutsch | Ελληνικά | English | Español | فارسی | Français | Italiano | 日本語 | Nederlands | Polski | Português | Русский | Slovenčina | Svenska | Türkçe | ‪中文(简体)‬ | ‪中文(繁體)‬ | +/-

File history

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

Date/TimeDimensionsUserComment
current19:22, 14 September 2006600×464 (24 KB)Xandi (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 )
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):