Image:Exponentialchirp.png
From Wikipedia, the free encyclopedia
Size of this preview: 800 × 560 pixel
Image in higher resolution (1250 × 875 pixel, file size: 87 KB, MIME type: image/png)
This is a file from the Wikimedia Commons. The description on its description page there is shown below. | |
A graph of a sinusoidal exponential chirp. It would be cool to show the f(t) function on the same graph. Any ideas?
[edit] Instructions
See Wikipedia graph-making tips.
Newest version created in Maxima using the command:
x(t):=sin(2*%PI*(.1)*(3^t)*t);
So f0 = 0.1 Hz, and k = 3, according to the equation given in the article:
- x(t) = sin(2πf(t)t) = sin(2πf0ktt)
It was then plotted using Maxima's gnuplot interface through the command:
plot2d(x(t),[t,0,5],[nticks,500], [gnuplot_preamble,"set grid x; set ytics 1; set yrange [-2:2]; set nokey"], [gnuplot_ps_term_command,"set term postscript enhanced landscape color solid lw 2 'Times-Roman' 20"], [gnuplot_term,ps], [gnuplot_out_file,"logchirp.ps"]);
To convert the PostScript file to PNG:
- Open it in the GIMP (make sure you have ghostscript installed! - Windows instructions)
- Enter 500 under Resolution (it doesn't say "DPI" but I think that's what it means)
- Uncheck Try bounding box (since the bounding box cuts off the edge, unfortunately. You can try with the bounding box first.)
- Enter large values for Width and Height
- Check Color
- Check Strong anti-aliasing for both graphics and text
- Crop off extra whitespace (Shift+C if you can't find it in the toolbox)
- Possibly need to rotate it: Click Image → Transform → Rotate 90 degrees clockwise
Filters → Blur → Gaussian blur at 2.0 px(No need to blur if you use strong anti-aliasing during conversion. I see no significant difference between end results.)- Image → Scale Image...
- Width and Height at 25%
- Cubic interpolation
- You can view at normal size if you want by pressing 1, Ctrl+E
- Save as Exponentialchirp.png
(There were some artifacts of the lines being "painted with a pointy brush" in the high frequency section, so I just clipped off the tops with the GIMP brush.)
Source: Created by User:Omegatron using gnuplot, possibly with post-processing in the GIMP (PNG) or Inkscape (SVG)
File links
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):