This file is indexed.

/usr/share/doc/python-scitools/examples/plot4.py is in python-scitools 0.9.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
from scitools.std import *
import time

def f(x, m, s):
    return (1.0/(sqrt(2*pi)*s))*exp(-0.5*((x-m)/s)**2)

m = 0
s_start = 2
s_stop = 0.2
s_values = linspace(s_start, s_stop, 30)
x = linspace(m -3*s_start, m + 3*s_start, 1000)

# Make a plot of three s values
for s in s_start, 1, s_stop:
    plot(x, f(x,m,s))
    hold('on')
    legend('s=%s' %s)
title('A Gaussian Bell Function')
savefig('tmp4.eps')

raw_input('Press Return key to quit: ')