[Top][All Lists]

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

Re: define range in octave

From: Quentin Spencer
Subject: Re: define range in octave
Date: Tue, 25 Jul 2006 17:05:41 -0500
User-agent: Thunderbird (X11/20060614)

Aarti Gupta wrote:
I am trying to construct a histogram for a given data set. And I want my
bucket ranges as (0-5), (5-15), (15-25),(25-35),(35-45)
and since, there are not continous that after 5 I want 15 how can I do this
in octave?
Even I not able to get the marks for this in the x-axis.
How can I get the marks for this in the axes?

Are you using the hist function? (You still haven't mentioned it, but it sounds from your question like you might be). If you call hist(data,[0:10:40]), you would get buckets that start at -5. If there are no negative values in your data, you would get the same results.


reply via email to

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