Rank: 2334 based on 46 downloads (last 30 days) and 1 file submitted
Personal Profile:

.

Professional Interests:

 

Watch this Author's files

 

Files Posted by Darik
Updated   File Tags Downloads
(last 30 days)
Comments Rating
14 Feb 2011 Screenshot venn Plot 2- or 3- circle area-proportional Venn diagram Author: Darik venn, venn diagram, graphics, plotting, set, specialized 46 18
  • 4.77778
4.8 | 11 ratings
Comments and Ratings by Darik View all
Updated File Comments Rating
22 Sep 2013 Matlab logging facility Adds ability to log messages. Borrowed ideas from Java logging, and possibly Python logging. Author: Matthew Spaethe

05 Jul 2013 Html Table Writer Writes a cell-array to an html file. Numerous formatting options are available. Author: Roger Parkyn

27 May 2013 struct2table displays a struct's contents in a clear way... Author: Karl

Sorry... ignore that last comment. Works as expected. Very convenient

27 May 2013 struct2table displays a struct's contents in a clear way... Author: Karl

Table is broken if structure contains a field name longer than 9 characters.

>> x(1:3) = struct('testfield', 1);
struct2table(x)
# |testfield
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
1 | 1
2 | 1
3 | 1

>> y(1:3) = struct('test_field', 1);
struct2table(y)
# |¯¯¯¯¯¯¯
1 | 2 | 3 |>>

26 May 2013 struct2table displays a struct's contents in a clear way... Author: Karl

Comments and Ratings on Darik's Files View all
Updated File Comment by Comments Rating
23 Aug 2014 venn Plot 2- or 3- circle area-proportional Venn diagram Author: Darik Baroni, Fabiano

great work, thanks.

I noticed that sometimes this error is returned: "Triangle inequality not satisfied", for example if A=[15 14 3]; I=[13 1 0 0].

It seems to be related to the constrain that circle centres shall not be further apart than rA+rB:

D = fminbnd(@areadiff, 0, rA+rB, opts);

Can you please suggest a solution or a workaround for this issue? Many thanks.

19 Sep 2013 venn Plot 2- or 3- circle area-proportional Venn diagram Author: Darik Hiren

11 Sep 2013 venn Plot 2- or 3- circle area-proportional Venn diagram Author: Darik Gallagher, Eugene

Thanks Darik. You were right. My 2013a had a faulty Matlab path statement and wasn't finding my optimization toolbox. I changed back to the default path, rebuilt my path for my directories, and Venn.m worked beautifully. Thanks.

06 Sep 2013 venn Plot 2- or 3- circle area-proportional Venn diagram Author: Darik Darik

Eugene: optimset is a function in the optimization toolbox. I suspect you have that toolbox installed in your Matlab 2012, but not 2013.

03 Sep 2013 venn Plot 2- or 3- circle area-proportional Venn diagram Author: Darik Gallagher, Eugene

While the function works great in Matlab Release 2012a, it produces errors in Release 2013a:
>> figure, axis equal, axis off;A=[100 100];I=25;venn(A,I,'FaceColor',{'r','y'},'FaceAlpha',{1,0.6},'EdgeColor','black')

Undefined function 'optimset' for input arguments of type 'char'.

Error in venn>parseArgsIn (line 860)
fminOpts = [optimset('fminbnd'), optimset('fminsearch')];

Error in venn (line 166)
[A0, I0, Z0, nCirc, fminOpts, vennOpts, patchOpts] = parseArgsIn (varargin);

Contact us