File: sample_graphs.pcm

package info (click to toggle)
extrema 4.3.6-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 19,212 kB
  • ctags: 6,452
  • sloc: cpp: 86,428; sh: 8,229; makefile: 814
file content (31 lines) | stat: -rw-r--r-- 425 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
clear
window 5
defaults
x=[1:10]
set
 xlabelon 1
 xlabel 'X<^>2<_> vs X'
 %xlabelheight 6

graph x x*x
window 6
defaults
x2=[-5:5]
set
 xlabelon 1
 xlabel 'X<^>3<_> vs X'
 %xlabelheight 6

graph x2 x2^3
window 7
defaults
pi = acos(-1)
theta=[0:2*pi:0.05]
if exist('r') then destroy\-messages r
r[1:len(theta)] = 1
set
 xlabelon 1
 xlabel 'R*SIN(<theta>)  vs  R*COS(<theta>)'
 %xlabelheight 6

graph r*cos(theta) r*sin(theta)