Code covered by the BSD License  

Highlights from
Labelled histogram

5.0

5.0 | 1 rating Rate this file 10 Downloads (last 30 days) File Size: 1.91 KB File ID: #20016
image thumbnail

Labelled histogram

by

 

22 May 2008 (Updated )

Plots the histogram for the observations, but grouped by labels.

| Watch this File

File Information
Description

Imagine that you have a set of observations that have been properly labelled. It should be interesting not only to analyze the data pdf but also to study the weigth of each class (observations' labels) to each one of the histogram bins. In this way I have developed a version of HIST, that is called LHIST. This new function plots the histogram for the observations grouping them in M bins. In addition, it accounts for the different elements that are present in each bin grouping them by LABELS.

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
30 Jun 2010 Graham Bortz

I would like to express my sincere gratitude for this function. Seeing that you have provided me with such value , can you show me how to use this function ( lhist) within the gplotmatrix function to do the scatter plots with the classes ( labels) of different colors , and integrate your lhist function on the diagonals. This would therefore give a class based plotmatrix , something which should be included in the examples on the Matlab documentation. Authors have presented this type of visualisation in Mathematica.

I keenly await your response

Thank You
Graham Bortz
(bortz_g@mtn.co.za)

29 Dec 2008 Tom

in the example , gsamp does not exist.

Updates
27 May 2008

Bug fixed

Contact us