help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hist remove filling colour


From: Isak Delberth Davids
Subject: Re: hist remove filling colour
Date: Tue, 30 Nov 2010 17:02:12 +0200

On 30 November 2010 16:42, Doug Stewart <address@hidden> wrote:
On Tue, Nov 30, 2010 at 8:40 AM, Isak Delberth Davids
<address@hidden> wrote:
> Good day,
>
> I wonder is there a way one can remove the dark colour that histogram bars
> come with? In fact, I only want to join the frequency values such that I
> have a line joining them.
>
> Regards,
> Isak


function [nn, xx] = hist (y, varargin)


If you plot

plot(xx,yy) you will see a line.

Doug Stewart

Thanks, that works. BTW something, I did not know is
hist(Y,x,'FaceColor','w','EdgeColor','b')
which gives a white-filled bar plot with in this case blue edges.

Cheers,
Isak

* * * * * * * * * * * * * * *
*  Isak Delbert Davids *
*  +264-81-33 049 33  *
*  +264-61-206 3789   *
*    Namibia, Afrika     *
* * * * * * * * * * * * * * *


reply via email to

[Prev in Thread] Current Thread [Next in Thread]