File:Chebyshev-nodes-by-projection.svg

Summary

Description
English: This is an illustration of Chebyshev nodes, which can be visualized as the x-coordinates of equally spaced points on a unit semicircle.
Date
Source Own work
Author Steven G. Johnson

Created in Julia using Matplotlib/PyPlot using the following code:

using PyPlot
n = 10
θₙ = π*(2(1:n) .- 1)/(2n)
θ = linspace(0,pi, 300)
plot(cos.(θ), sin.(θ), color="gray")
plot([-1.2,1.2], [0,0], color="gray")
plot(cos.(θₙ), sin.(θₙ), "bo")
plot(cos.(θₙ), zeros(θₙ), "ro")
text(0,-0.15, "Chebyshev nodes", horizontalalignment="center", color="red", fontsize=15)
for k = 1:n
    x,y = cos(θₙ[k]), sin(θₙ[k])
    arrow(x,y,0,-y+0.03, head_width=0.03, head_length=0.03, length_includes_head=true)
end
xticks(-1:0.2:1)
yticks(0:0.2:1)
axis("equal")
xlim(-1.2,1.2)
savefig("/Users/stevenj/Downloads/chebnodes.svg")

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International 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.
Category:CC-BY-SA-4.0#Chebyshev-nodes-by-projection.svg
Category:Self-published work Category:SVG mathematics Category:Created with Julia
Category:CC-BY-SA-4.0 Category:Created with Julia Category:SVG mathematics Category:Self-published work