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.
# 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
Licensing
I, the copyright holder of this work, hereby publish it under the following licenses:
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.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue
You may select the license of your choice.
Captions
Add a one-line explanation of what this file represents