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
···
--
Observatoire de Lyon emsellem@...419...
9 av. Charles-Andre tel: +33 4 78 86 83 84
69561 Saint-Genis Laval Cedex fax: +33 4 78 86 83 86
France http://www-obs.univ-lyon1.fr/eric.emsellem
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