2012/3/15 Carnë Draug <carandraug+...@gmail.com>:
> Hi everyone
>
> I'm trying to implement matlab's imhist for the image package (in a
> matlab compatible way). However, there's one detail of the function
> that I'm unable to fix. On the x axis of the histogram, there should
> be a colorbar of the correspondent intensity. Something like this
> http://www.mathworks.co.uk/help/toolbox/images/ref/imhist_of_pout.png
>
> While I think this is not really necessary for a grayscale image, when
> dealing with indexed images, the colorbar at the bottom becomes very
> useful. Is it possible to do something like this? If so, how? My
> octave graphical capabilities are close to nothing (I even only use
> octave without X) so any help is very appreciated.
>
> Thanks in advance,
> Carnë
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Octave-dev mailing list
> Octave-dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/octave-dev

Hi Carnë

Mixing colobar.m and waitbar.m I got this
http://agora.panocha.org.mx/snippet/Hncv/

The control of the size of the image is not implemented, is hard coded
(the subplot). you will have to think about that.

Let me know if this helps.

-- 
M. Sc. Juan Pablo Carbajal
-----
PhD Student
University of Zürich
http://ailab.ifi.uzh.ch/carbajal/

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to