rotating a plot using 'rotate' keyword?

Is there something for plot() that rotates the axes. I know

    > I can simply switch the variables like so: plot(x,y) and
    > plot(y,x), but I have a 1D array and I don't want to add a
    > second array for the element number. Is there a keyword like
    > rotate=90 as there is for text? Thanks.

There is no built-in support for rotating axes. If you are averse to
defining your own x array, I suggest writing a helper function

def plot90(y, **kwargs):
    x = arange(len(y), typecode=Float)
    return plot(y, x, **kwargs)

JDH