Great submission. I use it rarely, but it is a life-saver when I need it.
I did find one foible, I believe. Your totient function outputs totient(1) as 0, but both the Wikipedia page you cite and the Sloane Online Encyclopedia of Integer Sequences (http://oeis.org/A000010) say that totient(1) = 1.
04 Dec 2012
Plot 2- or 3- circle area-proportional Venn diagram
Great function. Seems to work just as advertised (in my limited trial). However, the areas don't look quite circular to me, whether or not I apply "axis square" after running venn.
This is an exciting submission, as it is an ongoing frustration that xlswrite doesn't function fully on a Mac.
xlwrite doesn't seem to have the ability to write to specific cells on a worksheet, as xlswrite does. Is that something you are planning to add, or is there some fundamental impediment to doing that? It would be a powerful addition.
Thank you Jacob.
For the first question, kmplot shows confidence intervals and median time. If I add these lines on Logrank it became too difficult to understand.
For the second question, you can use "text" or "gtext" matlab function to add on to the plot whatever you want.
Feel free to modify the code.
09 Oct 2014
Comparing survival curves of two groups using the log rank test
I've found that the plots that come out of kmplot are much prettier (and contain more information) than the plots that are generated by logrank. Is there a way that I'm missing to plot two survival curves on the same axis using kmplot? or to make the plots from logrank more similar to those of kmplot?
Thanks, great tool.