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


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to