FACTOID # 63: Brazil takes up 47.8% of South America.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

FACTS & STATISTICS    Simple view

  1. Select countries to view: (hold down Control key and click to select several)

     

     

    Compare:

     

     

  1. Select fact or statistic: (* = graphable)

     

     

     

  2. (OPTIONAL) Compare to statistic: (both need to be graphable)

     

     

     

  3. View result as:

     

       
(OR) SEARCH ALL encyclopedia, stats & forums:   

Encyclopedia > Image:Floor function.svg

Floor_function.svg (16KB, MIME type: image/svg)

Wikimedia Commons logo This is a file from the Wikimedia Commons. The description on its description page there is shown below.

Graph of the floor function. Image File history File links Commons-logo. ...

(My first decent-looking gnuplot-generated SVG.)

Contents

Related images

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 "floor.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 "floor.dat" with lines plot "floor.dat" with points 1 6 # Close the file (so I don't have to close gnuplot to view it) set output 

and data file:

floor.dat

 # X Y1 -3 -4 Skip -3 -3 -2 -3 Skip -2 -2 -1 -2 Skip -1 -1 0 -1 Skip 0 0 1 0 Skip 1 1 2 1 Skip 2 2 3 2 Skip 3 3 4 3 

Then I opened the resulting SVG file in Inkscape, changed the fill style for the circles (either red or white fill), brought the plot lines to the top, and then brought the circles to the top (over the lines).

License

Source: Created by User:Omegatron using gnuplot, possibly with post-processing in the GIMP (PNG) or Inkscape (SVG)

I, the author of this work, hereby publish it under the following licenses:
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".
Some rights reserved
Creative Commons Attribution iconCreative Commons Share Alike icon
This file is licensed under the Creative Commons
Attribution ShareAlike license versions 2.5, 2.0, and 1.0.


You may select the licence of your choice.

External links

  • Mathworld's version

The following pages link to this file:

The floor function In mathematics, the floor function is the function defined as follows: for a real number x, floor(x) is the largest integer less than or equal to x. ...


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.