From: <bfb...@ya...> - 2005-05-29 03:15:50
|
Hello, Can anybody help me with turning on clipping when stroking world coast outlines in a graph? I attach the script + data, but if it does not get thru, here is a summary: g = graph.graphxy(height=8, width=16, x=graph.axis.linear(min=lonmin, max=lonmax, title=r'$\lambda$'), y=graph.axis.linear(min=latmin, max=latmax, title=r'$\phi$')) for a in lines: p = path.path(path.moveto(a[0],a[1])) for i in range(2,len(a),2): p.append(path.lineto(a[i],a[i+1])) p=p.transformed(tt) g.stroke(p) -Brian |