voici un début de réponse :

http://gdesroches.free.fr/formation/pshop/histogr.htm