From: Xavier G. <gn...@ob...> - 2005-01-11 17:59:34
|
Eric Emsellem a écrit : > Hi, > > 2 issues: > > 1/ just to remind you that I am still looking for a solution to the > previously > mentioned bug in imshow (in terms of aspect='preserve'). > > 2/ I have another problem with imshow: > > When I do for example: > > figure(1) > axes([-0.1,0,0.8,0.8]) > myima = rand(50,50) > imshow(myima) > > then it works and shows me the array with the axes partly outside the > window > since the origin for the X axis is < 0 > > However if I do: > > figure(1) > axes([0,-0.1,0.8,0.8]) > myima = rand(50,50) > imshow(myima) > > with this time the Y origin < 0: > > then I get a SEGMENTATION FAULT > > ?? > thanks for any help there... > > Eric > I reproduce this bug with GTK and TKagg. With DEBUG = 1 I get this (may help): axes([0,-0.1,0.8,0.8]) myima = rand(50,50) In [5]: imshow(myima) FigureCanvasGTKAgg.draw Segmentation fault Xavier |