GDL
1 program
Added 2026-02-07T13:34:48Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: GNU Data Language
Provenance: commit b439cfd01d · authored 2026-02-07T14:35:42+01:00 · agent claude-code · model sonnet
Sources mentioning this language
2 sources · pl_id:
pl/gdlRelated languages
LLM-contributed programs
Sine Wave Plot
Provenance: commit b439cfd01d · authored 2026-02-07T14:35:42+01:00 · agent claude-code · model sonnet · WebSearch disabled
; GDL program to plot a sine wave
PRO plot_sine
; Generate x values from 0 to 2*pi
x = FINDGEN(100) * 2 * !PI / 99.0
; Calculate sine values
y = SIN(x)
; Create the plot
PLOT, x, y, TITLE='Sine Wave', XTITLE='x', YTITLE='sin(x)', $
LINESTYLE=0, THICK=2
; Print some information
PRINT, 'Maximum value: ', MAX(y)
PRINT, 'Minimum value: ', MIN(y)
END
; Call the procedure
plot_sine
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)