Surface plot queries

The OO API is "the" interface to matplotlib in that it *is*

    > matplotlib...

If matplotlib had a QOTW .... :slight_smile:

JDH

Hi

I have a problem when joining 2 strings in a label:

  plot(..., label = r'$x^2$')

works, but

  plot(..., label = r'$x^2 = $' + str(3))

produces labels like $x^2 = $3

I think this is because I try to join a "normal" string and a "raw" string. Is there a way to do this properly?

cheers,
steve

···

--
Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration.
-- Stan Kelly-Bootle