Originalfil(1 160 × 860 pixlar, filstorlek: 74 kbyte, MIME-typ: image/png)

En vektorversion av denna bild (SVG) finns tillgänglig.
Den skall användas istället för denna rasterbild, när det är fördelaktigt.

File:Waveforms.png → File:Waveforms.svg

För mer information om vektorgrafik, se artikeln Commons transition to SVG (engelska).
Det finns också information om MediaWikis stöd för SVG-bilder (engelska).

På andra språk
Alemannisch  Bahasa Indonesia  Bahasa Melayu  British English  català  čeština  dansk  Deutsch  eesti  English  español  Esperanto  euskara  français  Frysk  galego  hrvatski  Ido  italiano  lietuvių  magyar  Nederlands  norsk bokmål  norsk nynorsk  occitan  Plattdüütsch  polski  português  português do Brasil  română  Scots  sicilianu  slovenčina  slovenščina  suomi  svenska  Tiếng Việt  Türkçe  vèneto  Ελληνικά  беларуская (тарашкевіца)  български  македонски  нохчийн  русский  српски / srpski  татарча/tatarça  українська  ქართული  հայերեն  বাংলা  தமிழ்  മലയാളം  ไทย  한국어  日本語  简体中文  繁體中文  עברית  العربية  فارسی  +/−
Ny SVG-bild

This shows several waveforms: sine wave, square wave, triangle wave, and rising sawtooth wave.

I think it's good to show them next to each other for context.

The fundamentals of each have the same frequency and phase.

Instructions

See Wikipedia graph-making tips.

Generated in gnuplot with the following script (save as waveforms.plt and then open in gnuplot):

 
Den här PNG bilden skapades med Gnuplot.

and data files:

square.dat

#	X    Y1
	0	1
	1	1
	1	-1
	2	-1
	2	1
	3	1
	3	-1
	4	-1
	4	1
	5	1
	5	-1
	6	-1

triangle.dat

#	X    Y1
	0	0
	0.5	1
	1.5	-1
	2.5	1
	3.5	-1
	4.5	1
	5.5	-1
	6	0

sawtooth.dat

#	X    Y1
	0	0
	1	1
	1	-1
	3	1
	3	-1
	5	1
	5	-1
	7	1

Then I opened the waveforms.ps file in a text editor to edit the line colors and linestyles, as per this description archive copy at the Wayback Machine. This avoids needing to open in proprietary software, and really isn't that difficult (especially if you don't know the commands in the proprietary software either).  ;-) Identify the lines easily by their color (the arrow is currently magenta and I want it to be black. Ah, there is the entry with 1 0 1, red + blue = magenta) or by using the gnuplot linestyle−1. (For instance, gnuplot's linestyle 3 corresponds to the ps file's /LT2.) Then you can edit the colors and dashes by hand.

I changed the original:

/LT1 { PL [4 dl 2 dl] 0 1 0 DL } def

into this:

/LT1 { PL [4 dl 2 dl] 0 0.7 0 DL } def

to make the green a little less neon.

To convert the PostScript file to PNG:

  1. 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
  2. Crop off extra whitespace (Shift+C if you can't find it in the toolbox)
  3. Possibly need to rotate it: Click ImageTransformRotate 90 degrees clockwise
  4. FiltersBlurGaussian 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.)
  5. ImageScale Image...
    • Width and Height at 25%
    • Cubic interpolation
  6. You can view at normal size if you want by pressing 1, Ctrl+E
  7. Save as Waveforms.png

Created by User:Omegatron using gnuplot, possibly with post-processing in the GIMP (PNG) or Inkscape (SVG)

Jag, upphovsrättsinnehavaren av detta verk, publicerar härmed det under följande licenser:
w:sv:Creative Commons
erkännande dela lika
Denna fil har gjorts tillgänglig under licenserna Creative Commons Erkännande-DelaLika 3.0 Unported, 2.5 Generisk, 2.0 Generisk och 1.0 Generisk.
Du är fri:
  • att dela – att kopiera, distribuera och sända verket
  • att remixa – att skapa bearbetningar
På följande villkor:
  • erkännande – Du måste ge lämpligt erkännande, ange en länk till licensen och indikera om ändringar har gjorts. Du får göra det på ett lämpligt sätt, men inte på ett sätt som antyder att licensgivaren stödjer dig eller din användning.
  • dela lika – Om du remixar, transformerar eller bygger vidare på materialet måste du distribuera dina bidrag under samma eller en kompatibel licens som originalet.
GNU head Tillstånd ges att kopiera, distribuera och/eller modifiera detta dokument under villkoren i GNU Free Documentation License, Version 1.2 eller senare version publicerad av Free Software Foundation, utan oföränderliga avsnitt, framsidestexter eller baksidestexter. En kopia av licensen ingår i avsnittet GNU Free Documentation License.
Du får själv välja den licens du vill använda.

(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.)

Bildtexter

Ingen bildtext har definierats

Objekt som porträtteras i den här filen

motiv

Filhistorik

Klicka på ett datum/klockslag för att se filen som den såg ut då.

Datum/TidMiniatyrbildDimensionerAnvändareKommentar
nuvarande29 augusti 2005 kl. 03.42Miniatyrbild för versionen från den 29 augusti 2005 kl. 03.421 160 × 860 (74 kbyte)Omegatronless whitespace
29 augusti 2005 kl. 02.52Miniatyrbild för versionen från den 29 augusti 2005 kl. 02.521 250 × 875 (58 kbyte)Omegatrondarker green
29 augusti 2005 kl. 02.51Miniatyrbild för versionen från den 29 augusti 2005 kl. 02.511 250 × 875 (58 kbyte)Omegatron

Följande sida använder den här filen:

Global filanvändning

Följande andra wikier använder denna fil: