Image:Fresnel integrals.svg

From Wikipedia, the free encyclopedia

No higher resolution available.

Fresnel_integrals.svg (600 × 480 pixel, file size: 18 KB, MIME type: image/svg+xml)

Wikimedia Commons logo This is a file from the Wikimedia Commons. The description on its description page there is shown below.
Commons is attempting to create a freely licensed media file repository. You can help.

[edit] Summary

Description

This picture shows the two Fresnel integral functions. I made it working with Octave and Gnuplot, post-processing the output with Sodipodi.

First I created a file called fresnelS.m with the following content:


function y = fresnelS(x)
y = zeros(1,length(x));
F = @(t) sin(t.^2);

for i = 1:length(x)
    y(i) = quad(F,0,x(i));
end

then I created another file called fresnelC.m with the following content:


function y = fresnelC(x)
y = zeros(1,length(x));
F = @(t) cos(t.^2);

for i = 1:length(x)
    y(i) = quad(F,0,x(i));
end

In the same directory where these two files are, I ran the following Octave code:



t = 0:0.01:5;
S = fresnelS(t);
C = fresnelC(t);

F = [t; S; C];
F = F';
save -ascii 'fresnel_integrals.dat' F;

thus creating the file fresnel_integrals.dat. Then, to create the image, I used the following Gnuplot code:


# set the output
set terminal svg
set output "fresnel_integrals.svg"

set title "Fresnel Integrals"

# axis properties
set xrange [0:5]
set yrange [0:1]
set xlabel "x"
set xzeroaxis linetype -1 linewidth 0.5
set yzeroaxis linetype -1 linewidth 0.5
set xtics axis
set ytics axis

plot "fresnel_integrals.dat" using 1:2 title "S(x)" with lines linewidth 2,\
     "fresnel_integrals.dat" using 1:3 title "C(x)" with lines linewidth 2

Finally I opened it with Sodipodi to change the stroke style.

Source own work
This vector image was created with Gnuplot.
Date

April 2006

Author

Alessio Damato

Permission

see below

[edit] Licensing

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".

العربية | Asturianu | Български | বাংলা | ইমার ঠার | Brezhoneg | Bosanski | Català | Sinugboanong Binisaya | Česky | Dansk | Deutsch | Ελληνικά | English | Esperanto | Español | Eesti | Euskara | فارسی | Suomi | Français | Galego | עברית | Hrvatski | Magyar | Bahasa Indonesia | Ido | Íslenska | Italiano | 日本語 | ქართული | 한국어 | Kurdî / كوردي | Latina | Lëtzebuergesch | Lietuvių | Bahasa Melayu | Nnapulitano | Nederlands | Norsk (nynorsk) | Norsk (bokmål) | Polski | Português | Română | Русский | Slovenčina | Slovenščina | Shqip | Српски | Svenska | తెలుగు | ไทย | Türkçe | Українська | اردو | Tiếng Việt | Volapük | 中文(简体) | 中文(繁體) | +/-

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

العربية | Česky | Dansk | Deutsch | English | Español | فارسی | Français | Italiano | 日本語 | Nederlands | Polski | Português | Русский | Svenska | Türkçe | 简体中文 | 正體中文 | +/-

You may select the license of your choice.

The following pages on the English Wikipedia link to this file (pages on other projects are not listed):