From: Andrew S. <str...@as...> - 2004-05-11 05:38:25
|
Perry Greenfield wrote: >I'm wondering about whether the convention that matplotlib >adopts for image display is the the standard expected for >science and engineering. When an image is displayed, >index 0,0 appears at the top left. While that is the standard >conventions for most computer graphics, it isn't in astronomy >(we usually expect it to be bottom left). Are there others >that expect the way it behaves now? > > OpenGL also has 0,0 at the lower left, so that's what I've come to expect. In fact, I'm not sure that an upper left origin "is the standard convention for most computer graphics." I certainly vote for positive values increasing upward and rightward... >While I'm at it, does anyone else need to display images as >raw pixel dumps (every pixel in the image matches the >display pixel) without trying to match axes? This is very >common in astronomy (I understand that this is effectively >not really using matplotlib to do graphics, but rather as >a simple image display window, but this is something >astronomers are used to doing for data inspection, and >it would be nice to be able to do this within matplotlib as it >is for IDL). My guess is that a raw image display function >would be figure-oriented (as opposed to axes-oriented as it >is for the current one). > > It sounds like a fine idea, but I'm personally in no need of this ability right now. |