Rank: 1626 based on 74 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 74 22
  • 4.7
4.7 | 12 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
18 Sep 2014 venn Plot 2- or 3- circle area-proportional Venn diagram Author: Darik Sheng, Tong

With regards to "When I put text onto the graph (suppose for simplicity I want to put the amount % of each zone in each zone centroid), when I set a transparency (alpha <1), the text becomes faded as if the circles were covering it."

Just to update, this is no longer an issue when I export the figure as jpg, etc.; the text appears opaque and not covered by the patches.

18 Sep 2014 venn Plot 2- or 3- circle area-proportional Venn diagram Author: Darik Sheng, Tong

Thank you, Darik. I will give that a try.

Another comment/question: when I put text onto the graph (suppose for simplicity I want to put the amount % of each zone in each zone centroid), when I set a transparency (alpha <1), the text becomes faded as if the circles were covering it. Ideally I would like the text to be bold and clear on top of the semi-transparent circles. Anyone else have this same problem, or know of a workaround? Thanks.

08 Sep 2014 venn Plot 2- or 3- circle area-proportional Venn diagram Author: Darik Darik

@Tong: I suppose you could tweak the position of the circles manually via the returned handles:

%Build the venn plot and return the handles
h = venn(...)

%Shift the first circle by (dx, dy)
set(h(1), 'XData', dx + get(h(1), 'XData'))
set(h(1), 'YData', dy + get(h(1), 'YData'))

05 Sep 2014 venn Plot 2- or 3- circle area-proportional Venn diagram Author: Darik Sheng, Tong

I have a 3-circle diagram in which one of my zones is empty (for [z1 z2 z3 z12 z13 z23 z123], z1 = 0), but an area/patch is still drawn. I think if the centroid for circle1 is shifted so that it fits completely inside the other two circles, that would be ok. How can I do this?

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.

Contact us