legend in pylab

Hello:

I am trying to diplay legend of X and Y axes like: legend((‘label X’, ‘label Y’), isaxes=True)

and I get an error<type ‘exceptions.TypeError’>: init() got an unexpected keyword argument ‘is
axes’

How can I display labels for X and Y axes and a Title for the plot

Thank you,

Ionut

sandric ionut wrote:

Hello:
I am trying to diplay legend of X and Y axes like: legend(('label X', 'label Y'), isaxes=True)
and I get an error<type 'exceptions.TypeError'>: __init__() got an unexpected keyword argument 'is
axes'
How can I display labels for X and Y axes and a Title for the plot

If I understand you correctly, what I think you want are:
title()
xlabel()
ylabel()

Ryan

···

--
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma