File:Ceiling function.svg
Summary
Description |
Graph of the ceiling function See Wikipedia graph-making tips.
|
Date | |
Source | Own work using: http://mathworld.wolfram.com/ |
Author | Omegatron |
Other versions |
|
SVG development | Category:Invalid SVG created with Gnuplot code#0250Ceiling%20function.svg ![]() Category:Translation possible - SVGThis plot uses embedded text that can be easily translated using a text editor. |
Source code | Gnuplot code# 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 [[w:discontinuous function|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
Data# 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
|
Licensing
Created by User:Omegatron using gnuplot, possibly with post-processing in the GIMP (PNG) or Inkscape (SVG)
I, the copyright holder of this work, hereby publish it under the following licenses:
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported, 2.5 Generic, 2.0 Generic and 1.0 Generic 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.
![]() |
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. |
You may select the license of your choice.
(In short, this means that you can copy and modify the image freely as long as you provide attribution; preferably in the form of a link back to this page.)
Category:Floor and ceiling