On Jan 7, 2012, at 9:46 PM, John Smith wrote:
> Hello,
>
> I want to know if Octave has a statistics function which can work like
> "boxplot" in Matlab. My Octave version is 3.2.4, a quite new version, but I
> didn't find "boxplot" in it.
>
> Best regards,
>
> Shoufutuolasky
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free!
> http://p.sf.net/sfu/Citrix-VDIinabox_______________________________________________
> Octave-dev mailing list
> Octave-dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/octave-dev
I hope this helps:
/octave/3.4.3 is where I have my octave installed.
>>help boxplot
`boxplot' is a function from the file
/octave/3.4.3/packages/statistics-1.1.0/boxplot.m
-- Function File: S = boxplot (DATA, NOTCHED, SYMBOL, VERTICAL,
MAXWHISKER, ...)
Produce a box plot.
The box plot is a graphical display that simultaneously describes
several important features of a data set, such as center, spread,
departure from symmetry, and identification of observations that
lie unusually far from the bulk of the data.
DATA is a matrix with one column for each data set, or data is a
cell vector with one cell for each data set.
NOTCHED = 1 produces a notched-box plot. Notches represent a robust
estimate of the uncertainty about the median.
NOTCHED = 0 (default) produces a rectangular box plot.
NOTCHED in (0,1) produces a notch of the specified depth. notched
values outside (0,1) are amusing if not exactly practical.
SYMBOL sets the symbol for the outlier values, default symbol for
points that lie outside 3 times the interquartile range is 'o',
default symbol for points between 1.5 and 3 times the interquartile
range is '+'.
SYMBOL = '.' points between 1.5 and 3 times the IQR is marked with
'.' and points outside 3 times IQR with 'o'.
SYMBOL = ['x','*'] points between 1.5 and 3 times the IQR is
marked with 'x' and points outside 3 times IQR with '*'.
VERTICAL = 0 makes the boxes horizontal, by default VERTICAL = 1.
MAXWHISKER defines the length of the whiskers as a function of the
IQR (default = 1.5). If MAXWHISKER = 0 then `boxplot' displays all
data values outside the box using the plotting symbol for points
that lie outside 3 times the IQR.
Supplemental arguments are concatenated and passed to plot.
The returned matrix S has one column for each data set as follows:
1 Minimum
2 1st quartile
3 2nd quartile (median)
4 3rd quartile
5 Maximum
6 Lower confidence limit for median
7 Upper confidence limit for median
Example
title ("Grade 3 heights");
tics ("x", 1:2, {"girls"; "boys"});
axis ([0,3]);
boxplot ({randn(10,1)*5+140, randn(13,1)*8+135});
Additional help for built-in functions and operators is
available in the on-line version of the manual. Use the command
`doc <topic>' to search the manual index.
Help and information about Octave is also available on the WWW
at http://www.octave.org and via the h...@octave.org
mailing list.
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev