File: Connect

package info (click to toggle)
dxsamples 4.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 26,348 kB
  • ctags: 1,513
  • sloc: ansic: 10,079; sh: 8,445; java: 1,772; makefile: 1,101
file content (15 lines) | stat: -rw-r--r-- 368 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Import scattered point data of carbon dioxide concentration. This data
// is a time series.
data = Import("CO2.general",format="general");

// Select frame 17 of the series
frame17 = Select(data,17);

// Connect the dots
connected = Connect(frame17);

// AutoColor and Display
colored = AutoColor(connected);
camera = AutoCamera(colored);
Display(colored,camera);