Hello there,
I have a strange plotting problem. In the example below I expect three equal plots of f, g and h: a simple inclined line, but g and h produce a sawtooth plot. What do I do wrong? Any help would be greatly appreceated.
Sincerely,
Axel Brink.
import numpy, pylab
f = range(500)
g = numpy.array(range(500))
h = list(numpy.array(range(500)))
pylab.plot(f)
pylab.figure()
pylab.plot(g)
pylab.figure()
pylab.plot(h)
pylab.show()
···
--
Axel Brink
Ph.D student
Artificial Intelligence
University of Groningen
www.ai.rug.nl/~axel
Tel.: +31 (0)50 363 7410
Postal addr.: Grote Kruisstraat 2/1, 9712 TS, Groningen, The Netherlands
Visiting addr.: Zernikepark 10, Groningen, The Netherlands