File: integration.geg

package info (click to toggle)
geg 2.0.9-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 1,532 kB
  • sloc: ansic: 5,756; sh: 1,269; makefile: 123; xml: 70
file content (89 lines) | stat: -rw-r--r-- 1,898 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# geg data file
# all options can be changed within geg

toolbar = pictures_and_text
tooltips = on
print_as = pdf

xmin = -12.000000
xmax = 12.000000
ymin = -1.105614
ymax = 1.105614
tmin = 0.000000
tmax = 1.000000
amin = 0.000000
amax = 6.283185

graph_width = 1024
graph_height = 768
axes_lw = 0.4
grid_lw = 0.3
box_lw = 0.4
curves_lw = 0.5
point_radius = 1
coordinates_type = decimal
mode_type = cartesian
zoom_xy = 3

zoom_factor = 0.100000
notch_spacing = 45
minimum_resolution = 0.000100
maximum_resolution = 10000.000000
interpolation_factor = 4
maximum_formulas = 100

do_Ox = 1
do_Oy = 1
do_xval = 1
do_yval = 1
do_color = 1
do_box = 0

# positions: 0=top left, 1=top right, 2=bottom left, 3=bottom right 
text_position = 2
formula_size = 20
number_size = 12

utility_editor = emacs
utility_eps_viewer = evince
utility_pdf_viewer = evince
utility_eps_to_pdf = ps2pdf -dEPSCrop -dPDFSETTINGS=/prepress
utility_svg_viewer = inkscape
utility_eps_to_svg = eps2svg

color[0] = { 1.000000, 1.000000, 1.000000 }
color[1] = { 0.500000, 0.600000, 0.700000 }
color[2] = { 0.800000, 0.700000, 0.600000 }
color[3] = { 0.800000, 0.800000, 0.800000 }
color[4] = { 0.200000, 0.800000, 0.400000 }
color[5] = { 0.500000, 0.500000, 0.500000 }
color[6] = { 0.000000, 0.000000, 0.000000 }
color[7] = { 0.800000, 0.000000, 0.000000 }
color[8] = { 0.000000, 0.000000, 0.800000 }
color[9] = { 0.000000, 0.800000, 0.000000 }
color[10] = { 0.800000, 0.800000, 0.000000 }
color[11] = { 0.800000, 0.000000, 0.800000 }
color[12] = { 0.000000, 0.800000, 0.800000 }
color[13] = { 0.400000, 0.400000, 0.400000 }
color[14] = { 0.000000, 0.000000, 0.000000 }

end_parameters

# Formulas
# user defined function
&fa(p)=cos(p*p)

# its primitive (indefinite integral) vanishing at c
&fb=int_c_fa

# take c=0 and draw it
&c=0
fb(x)

# indefinite integral of natural logarithm
&fl=int_c_ln

# take c=1 and draw it
&c=1
fl(x)