From Wikipedia, the free encyclopedia
Size of this preview: 800 × 560 pixelsFull resolution (1,250 × 875 pixels, file size: 86 KB, MIME type: image/png)
A signal and the magnitude of its analytic signal, to demonstrate the envelope effect, made with GNU Octave.
[edit] Instructions
See Wikipedia graph-making tips.
Generated with the following commands:
t=[0:.0001:3];
y1=-(1.2./t)-t+3;
y1(y1<0)=0;
y2=sin(2*3*pi*t);
y3=y1.*y2;
hil=abs(hilbert(y3));
gset terminal postscript enhanced color solid lw 2 "Times-Roman" 20
gset output "analytic.ps"
gset nokey
gset yrange [-1:1]
plot(t,y3,"3",t,hil,"1");
These can be copied and pasted, saved to the Octave work directory as a .m file (such as analytic.m), and executed by typing the name of the file: analytic.
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 Analytic.png
Created by User:Omegatron using gnuplot, possibly with post-processing in the GIMP (PNG) or Inkscape (SVG)
I, the copyright holder of this work, hereby publish it under the following licenses:
You may select the license of your choice.
|
(In short, this means that you can copy and modify the image freely as long as you provide attribution; preferably in the form of a link back to this page.)
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Dimensions | User | Comment |
current | 03:39, 6 July 2005 | 1,250×875 (86 KB) | Omegatron | |
| 19:53, 26 June 2005 | 563×371 (4 KB) | Omegatron | |
File links
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):