You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
339 B
Python

"""
Simple pylab example
Use pylab when you are in an interactive shell. This example really should be copied into a RPEL.
"""
from pylab import plot, show
x_numbers = [1, 2, 3]
y_numbers = [2, 4, 6]
my_graph = plot(x_numbers, y_numbers, marker='o')
# my_graph = plot(x_numbers, y_numbers, 'o')
if __name__ == "__main__":
show()