joinstyle of lines?

If there is a simpler way to achieve this, I would of course

    > be interested. In general I think it would be nice to
    > change the joinstyle with a simple command, either globally
    > or even better on a line-by-line basis. Is this possible
    > already now in some way?

    > There is no better way. I have been holding off on exposing
    > this because I didn't see a clear way to handle it because
    > dashed and solid lines have different default cap and join
    > styles. It is now clear that c good solution is to expose
    > dash_capstyle, dash_joinstyle, solid_capstyle,
    > solid_joinstyle, as rc params and line properties.

    > Any forseeable problems with this approach?

Hey Arnd,

OK, I went ahead with this approach ( CVS revision 1.32 or
later). Only lightly tested. I'm already having fun with the new
kwargs to axes, as this testscript illustrates

    from pylab import *

    rc('lines', lw=3)
    y = [0.1, 0.9, 0.1, 0.9]

    axd = dict(xlim=(0,2), ylim=(0,1), autoscale_on=False)

    ax1 = subplot(311, **axd)
    plot(y, solid_joinstyle='miter')

    axd.update(dict(sharex=ax1, sharey=ax1))

    subplot(312, **axd)
    plot(y, solid_joinstyle='round')

    subplot(313, **axd)
    plot(y, solid_joinstyle='bevel')