Thanks Alexa and Jerzy.
other questions? ... Here they are:
- changing to an image grey scale only needs ... what?
- I need to do a 'plane fit' of the image. Does matplotlib
have some routine for this? Or shall I use other math libs?
Thanks again.
> Le 16/02/2012 02:20, Alexa Villaume a écrit :
>> Try using 'xticks' and 'yticks', those commands let you define the
>> location and label fo your tick marks.
>>
> This *alone* will not do, the image might be scaled badly. Add extent.
>
> Try this:
>
> fig = plt.figure()
> frame = plt.subplot(111)
> im=frame.imshow(data,extent=[0,3400,0,3400])
> plt.xticks([0,3400]); plt.yticks([0,3400])
> plt.xlabel('X (nm)')
> plt.ylabel('Y (nm)')
> plt.colorbar(im)
>
> plt.show()
>
> ==
>
> Jerzy Karczmarczuk
> Caen, France
>
>
>
> ------------------------------------------------------------------------------
> Virtualization& Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Matplotlib-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users