Rank: 258 based on 274 downloads (last 30 days) and 7 files submitted
photo

Jonas

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Jonas View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
14 Jun 2012 Screenshot Violin Plots for plotting multiple distributions (distributionPlot.m) Function for plotting multiple histograms side-by-side in 2D - better than boxplot. Author: Jonas histogram, distributions, plotting, pick of the week, potw 60 20
  • 4.9375
4.9 | 18 ratings
12 Jun 2012 Screenshot plot spread points (beeswarm plot) plotSpread plots distributions of data points, adding jitter to the points to avoid overlap. Author: Jonas distributions, histograms, plotting, potw, pick of the week 137 10
  • 5.0
5.0 | 2 ratings
02 Jun 2010 Screenshot Map texture to patch patchTexture maps a texture onto a patch object Author: Jonas graphics, plotting, patch, texture 15 0
26 Apr 2010 A dice roller for Matlab Everyone needs to roll dice or flip a coin now and then. This is the program to make it easy. Author: Jonas dice, regular expressions, game 5 3
  • 5.0
5.0 | 1 rating
01 Apr 2010 Screenshot Subversion GUI GUI for command-line subversion client Author: Jonas svn, subversion, gui 4 0
Comments and Ratings by Jonas View all
Updated File Comments Rating
17 Mar 2013 Violin Plots for plotting multiple distributions (distributionPlot.m) Function for plotting multiple histograms side-by-side in 2D - better than boxplot. Author: Jonas

@Warwick: this looks like a bug - globalNorm=2 should do the trick, but at the moment, it seems like it would require equally spaced bins. I'll look into it.

24 Feb 2013 Plot average line plotAverage plots an average line into the data. Author: Jonas

Hi Dafni,

Here's an example:

x = 1:0.1:10;
cmap = jet(10);
% plot some lines
figure,hold on,
for i=1:10,
plot(x,sin(x)+randn(size(x)),...
'color',cmap(i,:));
end
% add average, set robust-option to 0
plotAverage(gca,[],'userobustmean',0)

07 Jan 2013 Arrow3 Version 5 Draws lines with directional arrowheads. Author: Tom Davis

I've downloaded arrow3 sometime in 2002 for the first time; great job, guys!

In order to avoid possible conflicts with other code writing to the 'UserData' property, I suggest replacing these calls by "setappdata(ax,'arrow3',value)"

23 Oct 2012 plot spread points (beeswarm plot) plotSpread plots distributions of data points, adding jitter to the points to avoid overlap. Author: Jonas

@Yuri: Thank you for the hint. I'll look into fixing this.

11 Oct 2012 plot spread points (beeswarm plot) plotSpread plots distributions of data points, adding jitter to the points to avoid overlap. Author: Jonas

To change marker size programmatically, you can use the function "findall" to get the handles for the spots. Say you want to set the marker size to 16 of the black markers, and the figure number is 3, you could write
set(findall(3,'type','line','color','k'),'markerSize',16)

Comments and Ratings on Jonas' Files View all
Updated File Comment by Comments Rating
30 Apr 2013 Automatic template for new functions newFunction creates an empty function with custom header Author: Jonas Alexis

Nice.It's usefull to not loose time

17 Mar 2013 Violin Plots for plotting multiple distributions (distributionPlot.m) Function for plotting multiple histograms side-by-side in 2D - better than boxplot. Author: Jonas Jonas

@Warwick: this looks like a bug - globalNorm=2 should do the trick, but at the moment, it seems like it would require equally spaced bins. I'll look into it.

17 Mar 2013 Violin Plots for plotting multiple distributions (distributionPlot.m) Function for plotting multiple histograms side-by-side in 2D - better than boxplot. Author: Jonas Warwick

This is a great function. However I want to discriminate between two quite different distributions. I have a problem getting the Total area under the respective curves to be equal (to a nominal 1) for separate datasets (even with the same number of observations). Eg, Say I want to plot U and V left and right respectively where
U = normrnd(3.3,1.0,100,1);
V = normrnd(2.0,0.3,100,1);

then no matter what I do, they don't look anywhere near equal. Any ideas? or have I missed something obvious?

24 Feb 2013 Plot average line plotAverage plots an average line into the data. Author: Jonas Jonas

Hi Dafni,

Here's an example:

x = 1:0.1:10;
cmap = jet(10);
% plot some lines
figure,hold on,
for i=1:10,
plot(x,sin(x)+randn(size(x)),...
'color',cmap(i,:));
end
% add average, set robust-option to 0
plotAverage(gca,[],'userobustmean',0)

24 Feb 2013 Plot average line plotAverage plots an average line into the data. Author: Jonas Dafni

is there any example on how to use the file plotAverage?

Top Tags Applied by Jonas
plotting, distributions, average plot, coding, data exploration
Files Tagged by Jonas View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
14 Jun 2012 Screenshot Violin Plots for plotting multiple distributions (distributionPlot.m) Function for plotting multiple histograms side-by-side in 2D - better than boxplot. Author: Jonas histogram, distributions, plotting, pick of the week, potw 60 20
  • 4.9375
4.9 | 18 ratings
12 Jun 2012 Screenshot plot spread points (beeswarm plot) plotSpread plots distributions of data points, adding jitter to the points to avoid overlap. Author: Jonas distributions, histograms, plotting, potw, pick of the week 137 10
  • 5.0
5.0 | 2 ratings
02 Jun 2010 Screenshot Map texture to patch patchTexture maps a texture onto a patch object Author: Jonas graphics, plotting, patch, texture 15 0
26 Apr 2010 A dice roller for Matlab Everyone needs to roll dice or flip a coin now and then. This is the program to make it easy. Author: Jonas dice, regular expressions, game 5 3
  • 5.0
5.0 | 1 rating
01 Apr 2010 Screenshot Subversion GUI GUI for command-line subversion client Author: Jonas svn, subversion, gui 4 0

Contact us