Un article de Wikipédia, l'encyclopédie libre.
Ce fichier provient de Wikimedia Commons et peut être utilisé par d’autres projets. Le contenu de sa page de description provenant de ce site est reprise ci-dessous.
Graph of the floor function.
(My first decent-looking gnuplot-generated SVG.)
[modifier] Related images
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 blue or white fill), brought the plot lines to the top, and then brought the circles to the top (over the lines).
Created by User:Omegatron using gnuplot, possibly with post-processing in the GIMP (PNG) or Inkscape (SVG)
|
En tant que détenteur du droit d'auteur, je publie cette œuvre sous les licences suivantes:
Vous pouvez choisir la licence de votre choix.
|
(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.)
[modifier] External links
Historique du fichier
Cliquer sur une date et heure pour voir le fichier tel qu’il était à ce moment-là.
(dernière page | première page) Voir (50 plus récentes) (50 plus anciennes) (
20 |
50 |
100 |
250 |
500).
| Date et heure | Dimensions | Utilisateur | Commentaire |
| actuel | 22 mai 2006 à 02:05 | 1 000×1 000 (16 Kio) | Omegatron | |
| 11 avril 2006 à 04:27 | 1 000×1 000 (15 Kio) | Omegatron | |
| 8 avril 2006 à 18:09 | 1 000×1 000 (15 Kio) | Omegatron | |
| 8 avril 2006 à 18:00 | 1 000×1 000 (15 Kio) | Omegatron | |
| 8 avril 2006 à 17:35 | 1 200×1 200 (16 Kio) | Omegatron | |
| 8 avril 2006 à 17:31 | 1 600×1 600 (16 Kio) | Omegatron | |
| 30 mars 2006 à 08:51 | 1 000×1 000 (16 Kio) | Omegatron | |
(dernière page | première page) Voir (50 plus récentes) (50 plus anciennes) (
20 |
50 |
100 |
250 |
500).
Utilisations du fichier
La page suivante utilise ce fichier :