Then I opened the resulting SVG file in Inkscape, copy and pasted the Unicode π characters and modified those labels by hand, changed the line colors, brought the plot lines to the top, made all the lines 3 px wide, made the grid lines 2px wide and 50% transparency. I also manually reconnected the grid lines that were cut by the legend function, moved the legends down next to the graph, converted their example lines into directional arrow type lines, and put a white box behind the text instead of trying to cut the graph lines like gnuplot does.
This file uses embedded text that can be easily translated using a text editor.
gnuplot source
InfoField
click to expand
# Set 1300×975 SVG output and filename# The font size (fsize) sets the size for the circles, too.setsamples400setterminalsvgenhancedsize1300975fname"Times"fsize36setoutput"sinc function (both).svg"# Set y axis limits so the plot doesn't go right to the edges of the graph setyrange[-0.3:1.1]setxrange[-6*pi:6*pi]setlmargin5setbmargin-10# No legend needed#set nokey# Add lightly-colored axis linessetyzeroaxissetxzeroaxis# Put a y-axis tic at every 0.2setytics0.2setmytics4# Put an x-axis tic at every integersetxtics5setformatx"%2.0f"setmxtics5# Put a second x-axis tic at every multiple of 2*pisetx2tics2*pisetformatx2"%2.0f"setmx2tics2setgridxx2ysetxticsnomirror# Format tics as digit with one decimal placesetformaty"%2.1f"# Plot as linesplotsin(x)/xwithlines,sin(pi*x)/(pi*x)withlines# Close the file (so I don't have to close gnuplot to view it)setoutput
Llicència
Jo, el titular dels drets d'autor d'aquest treball, el public sota les següents llicències:
compartir – copiar, distribuir i comunicar públicament l'obra
adaptar – fer-ne obres derivades
Amb les condicions següents:
reconeixement – Heu de donar la informació adequada sobre l'autor, proporcionar un enllaç a la llicència i indicar si s'han realitzat canvis. Podeu fer-ho amb qualsevol mitjà raonable, però de cap manera no suggereixi que l'autor us dóna suport o aprova l'ús que en feu.
compartir igual – Si modifiqueu, transformeu, o generareu amb el material, haureu de distribuir les vostres contribucions sota una llicència similar o una de compatible com l'original
S'autoritza la còpia, la distribució i la modificació d'aquest document sota els termes de la llicència de documentació lliure GNU versió 1.2 o qualsevol altra versió posterior que publiqui la Free Software Foundation; sense seccions invariants, ni textos de portada, ni textos de contraportada. S'inclou una còpia d'aquesta llicència en la secció titulada GNU Free Documentation License.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue
Podeu seleccionar la llicència que vulgueu.
Llegendes
Afegeix una explicació d'una línia del que representa aquest fitxer
Aquest fitxer conté informació addicional, probablement afegida per la càmera digital o l'escàner utilitzat per a crear-lo o digitalitzar-lo. Si s'ha modificat posteriorment, alguns detalls poden no reflectir les dades reals del fitxer modificat.