[Matplotlib-users] Changing edge colour of scatterplot

2009-09-20 Thread bwgoudey
I'm trying to draw a scatter plot where each point is a different colour and is only a single pixel. Unfortunately at the minute, while I can change the colour and size, I haven't been able to remove the edges of the markers and my single pixel becomes the colour of the edge. I've attached some

[Matplotlib-users] Creating custom rectangle

2008-10-19 Thread bwgoudey
I'm looking to create a type of rectangle that draws with a cross from corner to corner, all as a single class type. To do this, I've created a subtype of the rectange class, that records what the current axis is and tries to draw two lines to it in the draw function. When displayting the graph,

[Matplotlib-users] Alter graph/labels based on zoom level

2008-10-12 Thread bwgoudey
Hi, At the moment, I have a graph which has an un labelled x-axis and all i'm drawing is a filled green rectangle every so often. I would like make it so that when I zoom in to my graph past a certain threshold, the rectangles change so that the first half is a different colour to the second