그림:Ceiling function.svg
위키백과 ― 우리 모두의 백과사전.
No higher resolution available.
Ceiling_function.svg (1000 × 1000 pixel, file size: 16 KB, MIME type: image/svg+xml)
이 자료는 위키미디어 공용에 있습니다. 이 자료에 대한 설명이 아래에 있습니다.
Graph of the ceiling function.
Contents |
[edit] Related images
[edit] Instructions
See Wikipedia graph-making tips.
Generated in gnuplot with the following script:
# Set square 1000×1000 SVG output and filename # The font size (fsize) sets the size for the circles, too. set terminal svg enhanced size 1000 1000 fname "Times" fsize 36 set output "ceiling.svg" # Set the text value for missing entries in the data file, so we can plot a discontinuous function set datafile missing "Skip" # Set y axis limits so the plot doesn't go right to the edges of the graph set yrange [-3.5:3.5] # Set x axis limits so the first and last points are hidden set xrange [-3.5:3.5] # No legend needed set nokey # Add lightly-colored axis lines set yzeroaxis set xzeroaxis # Plot as lines and also points (circles) plot "ceiling.dat" with lines plot "ceiling.dat" with points 1 6 # Close the file (so I don't have to close gnuplot to view it) set output
and data file:
ceiling.dat
# X Y1 -4 -4 Skip -4 -3 -3 -3 Skip -3 -2 -2 -2 Skip -2 -1 -1 -1 Skip -1 0 0 0 Skip 0 1 1 1 Skip 1 2 2 2 Skip 2 3 3 3
Then I opened the resulting SVG file in Inkscape, changed the fill style for the circles (either blue or white fill), brought the plot lines to the top, and then brought the circles to the top (over the lines).
[edit] License
Created by User:Omegatron using gnuplot, possibly with post-processing in the GIMP (PNG) or Inkscape (SVG)
[edit] External links
그림 링크
다음 문서들이 이 그림을 사용하고 있습니다: