Rank: 87 based on 413 downloads (last 30 days) and 9 files submitted
photo

Rob Campbell

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Rob View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
08 Jul 2013 Screenshot notBoxPlot - alternative to box plots. This function visualizes raw (grouped) data along with the mean, 95% confidence interval, and 1 SD. Author: Rob Campbell box plot, data exploration, error bars, plotting, statistics, potw 123 28
  • 4.77778
4.8 | 11 ratings
25 Jan 2013 Screenshot sigstar - add signifiance stars to bar charts, box plots, etc Add significance bars and asterisks to various plot types Author: Rob Campbell statistics, plotting, pvalue, bar chart, box plot, asterisk 73 6
  • 5.0
5.0 | 1 rating
11 Jul 2012 Screenshot labelEdgeSubPlots Automatically apply x and y labels to subplots only along the edges. Author: Rob Campbell plotting, label, subplot 4 10
  • 4.66667
4.7 | 3 ratings
15 Aug 2010 Screenshot mat2im Convert 2D matrix to a 3D image matrix as used by the image processing toolbox Author: Rob Campbell image processing, conversion, colormap, ind2rgb 9 7
  • 5.0
5.0 | 4 ratings
18 Jun 2010 Screenshot rug plots Creates a so-called "rug" plot similar to those produced by the free stats package, R. Author: Rob Campbell rug, histogram, plot, distribution, scatter plot 14 1
  • 4.0
4.0 | 1 rating
Comments and Ratings by Rob View all
Updated File Comments Rating
12 Jul 2013 notBoxPlot - alternative to box plots. This function visualizes raw (grouped) data along with the mean, 95% confidence interval, and 1 SD. Author: Rob Campbell

I see: instead of x being a vector (of numbers). That would seem like an inuitive extension. I'll do it when I get a moment.

03 Jul 2013 notBoxPlot - alternative to box plots. This function visualizes raw (grouped) data along with the mean, 95% confidence interval, and 1 SD. Author: Rob Campbell

Gavin,
Thanks for your bug report. I have submitted a fix that correctly parses:
notBoxPlot(randn(1,100),repmat(1:10,1,10),0.1,'line')

27 Mar 2013 sigstar - add signifiance stars to bar charts, box plots, etc Add significance bars and asterisks to various plot types Author: Rob Campbell

Awesome graph! I'm glad the function can cope with this sort of thing.

27 Mar 2013 sigstar - add signifiance stars to bar charts, box plots, etc Add significance bars and asterisks to various plot types Author: Rob Campbell

Sure, here's an example:
>> clf
>> bar(rand(3,5))
>> sigstar([1,2])

I just tested it, it works.

15 Mar 2013 notBoxPlot - alternative to box plots. This function visualizes raw (grouped) data along with the mean, 95% confidence interval, and 1 SD. Author: Rob Campbell

Julia,

The notBoxPlot function returns the handles of the plotted data. It's probably best to use these to do what you want. e.g:

H=notBoxPlot(randn(20,2));
x1=get(H(1).data,'XData');

x1 are the x values of the points in the first box. You can use this approach to get all the x and y data and then plot the lines. You can alter the order of the plot elements on the screen like this: http://www.matlab-cookbook.com/recipes/0050_Plotting/0010_Plot_Manipulation/changingPlotOrder.html

My only note of caution is that the plot may look messy because of the jitter along the x axis. You can modify the jitter with the 3rd input argument. If you have many data points then what you're doing may work better as a scatter plot. Perhaps my rug plot command would be of interest? http://www.mathworks.com/matlabcentral/fileexchange/27582-rug-plots

Comments and Ratings on Rob's Files View all
Updated File Comment by Comments Rating
25 Jul 2013 notBoxPlot - alternative to box plots. This function visualizes raw (grouped) data along with the mean, 95% confidence interval, and 1 SD. Author: Rob Campbell Biswas, Surojit

I like it

12 Jul 2013 notBoxPlot - alternative to box plots. This function visualizes raw (grouped) data along with the mean, 95% confidence interval, and 1 SD. Author: Rob Campbell Campbell, Rob

I see: instead of x being a vector (of numbers). That would seem like an inuitive extension. I'll do it when I get a moment.

12 Jul 2013 notBoxPlot - alternative to box plots. This function visualizes raw (grouped) data along with the mean, 95% confidence interval, and 1 SD. Author: Rob Campbell Adam

Very nice. Thank you! I'd like to also request that the second argument could be a list of strings the define the groups.

e.g.

notBoxPlot(data, grouplabels)

03 Jul 2013 notBoxPlot - alternative to box plots. This function visualizes raw (grouped) data along with the mean, 95% confidence interval, and 1 SD. Author: Rob Campbell Campbell, Rob

Gavin,
Thanks for your bug report. I have submitted a fix that correctly parses:
notBoxPlot(randn(1,100),repmat(1:10,1,10),0.1,'line')

03 Jul 2013 notBoxPlot - alternative to box plots. This function visualizes raw (grouped) data along with the mean, 95% confidence interval, and 1 SD. Author: Rob Campbell Gavin

If one uses vectors for the y and x inputs, the jitter and style options don't work. This is because the recursive call to notBoxPlot on line 115 doesn't pass those options through.

Top Tags Applied by Rob
plotting, statistics, image processing, plot, subplot
Files Tagged by Rob View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
08 Jul 2013 Screenshot notBoxPlot - alternative to box plots. This function visualizes raw (grouped) data along with the mean, 95% confidence interval, and 1 SD. Author: Rob Campbell box plot, data exploration, error bars, plotting, statistics, potw 123 28
  • 4.77778
4.8 | 11 ratings
25 Jan 2013 Screenshot sigstar - add signifiance stars to bar charts, box plots, etc Add significance bars and asterisks to various plot types Author: Rob Campbell statistics, plotting, pvalue, bar chart, box plot, asterisk 73 6
  • 5.0
5.0 | 1 rating
11 Jul 2012 Screenshot labelEdgeSubPlots Automatically apply x and y labels to subplots only along the edges. Author: Rob Campbell plotting, label, subplot 4 10
  • 4.66667
4.7 | 3 ratings
15 Aug 2010 Screenshot mat2im Convert 2D matrix to a 3D image matrix as used by the image processing toolbox Author: Rob Campbell image processing, conversion, colormap, ind2rgb 9 7
  • 5.0
5.0 | 4 ratings
18 Jun 2010 Screenshot rug plots Creates a so-called "rug" plot similar to those produced by the free stats package, R. Author: Rob Campbell rug, histogram, plot, distribution, scatter plot 14 1
  • 4.0
4.0 | 1 rating

Contact us