File: density_diffusion_example.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 (21 lines) | stat: -rw-r--r-- 356 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
clear
window 0
defaults
r=mod([0:143],4)+1
sort r
t=mod([0:143],36)*10
x = r*cosd(t)
y = r*sind(t)
z = exp(-r/2)*cosd(180*(r-1))
set
 %yimagticlength 2
 %xnumbersheight 5
 %ynumbersheight 5
 xdropfirstnumber 1
 xdroplastnumber 1
 ydropfirstnumber 1
 ydroplastnumber 1
 colormap topo256

scales\-messages -5 5 -5 5
density\diffusion\xprofile\yprofile x y z