File: splinterp.pcm

package info (click to toggle)
extrema 4.4.4.dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 19,416 kB
  • ctags: 6,689
  • sloc: cpp: 88,991; sh: 8,229; makefile: 480
file content (29 lines) | stat: -rw-r--r-- 371 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
clear
!
x = [0;1;2;3;5;6;4;3;5;10]
y = 2*x^2-3*x+50 + 100*ran(x)
!
window 0
defaults
set
 plotsymbol -10
 plotsymbolcolor red
  
graph x y
set
 plotsymbol 0
 tension 0
 curvecolor blue
 
m = splinterp(x,y,100)
graph\overlay m[*,1] m[*,2]
set
 textinteractive 0
 textalign 1
 %xtextlocation 15
 %ytextlocation 80
 %textheight 6
 textcolor blue
 
text 'tension = 0'
replot