fonction in python

2006-07-04 Thread aliassaf

Hello, 
  
If we write = x^2  and if I give to the program the values of x, it will
going to calculate the values of y, and also for x.   

But it is possible ? that is if I give to the program the values of X and Y,
it will indicate to me the relation between the two variables, in the other
hand if I look to the program x=2 y=4, x=3 y=9 ect... it is going to show me
that f (t)!!! 

Thanks 

-- 
View this message in context: 
http://www.nabble.com/fonction-in-python-tf1889102.html#a5164997
Sent from the Python - python-list forum at Nabble.com.

-- 
http://mail.python.org/mailman/listinfo/python-list


change the size of front

2006-07-04 Thread aliassaf

hi, 
I want to change the size of the front in a legend, i wrote this small
program and it got to me this message error!!!

from pylab import *
plot([1,2,3],'r')
legend('this',prop = FontProperties('smaller') )
show()

NameError: name 'FontProperties' is not defined

thanks 
-- 
View this message in context: 
http://www.nabble.com/change-the-size-of-front-tf1889113.html#a5165024
Sent from the Python - python-list forum at Nabble.com.

-- 
http://mail.python.org/mailman/listinfo/python-list