Rank: 641 based on 206 downloads (last 30 days) and 3 files submitted
photo

Massimo Ciacci

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Massimo Ciacci View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
21 Nov 2014 Screenshot killOrphanFiles() Search all unreachable code files, from one or more Main Entry files, and delete them. Author: Massimo Ciacci files, coding 13 3
20 Nov 2014 Screenshot NanSurf.zip Make surface plot when X,Y,Z contain NaNs, taking care of NaN-discontinuities Author: Massimo Ciacci plot, surface 25 0
17 Oct 2014 Screenshot line_fewer_markers An alias of the LINE command, with additional control for markers, in number and location. Author: Massimo Ciacci potw, pick of the week, plot, annotation, line, graphics 168 14
  • 4.54545
4.5 | 12 ratings
Comments and Ratings by Massimo Ciacci View all
Updated File Comments Rating
17 Oct 2014 line_fewer_markers An alias of the LINE command, with additional control for markers, in number and location. Author: Massimo Ciacci

@Jeremy

Yes, there is a workaround to use it in plotyy, that does not require changing line_fewer_markers, just function pointers, as follows:

figure(10); hold on; set(gca,'FontSize',16); set(gca,'FontName','Times'); set(gcf,'Color',[1,1,1]);
x=(1:10);
y1=x.^2;y2=x.^3;

f1 = @(x,y)line_fewer_markers(x,y,5,'ro','LegendLine','off');
f2 = @(x,y)line_fewer_markers(x,y,8,'bs','Spacing','curve','markerfacecolor','b');
[u,lh1,lh2] = plotyy(x,y1,x,y2,f1,f2)

legend('curve 1','curve 2')

22 May 2014 killOrphanFiles() Search all unreachable code files, from one or more Main Entry files, and delete them. Author: Massimo Ciacci

After looking around, i still think that a potential call considered to be a call is not a problem but rather a feature, given the task of this function: clean up unnecessary files, before releasing a trunk. Better to be safe and delete one file less. I found myself using this quite often since its submission, and i chose not to change it. After all there are true and good code dependency tools out there; for those who need that they are here in the wrong place.

19 May 2014 killOrphanFiles() Search all unreachable code files, from one or more Main Entry files, and delete them. Author: Massimo Ciacci

Thanks Jan for your comment.

I must add that i did it intentionally to treat names as function calls even within strings, since often i have commented code which i may want to uncomment, and so that for me is a dependency. And despite this it still reduced one of my trunks from 1500 m files to less than 500, but yes it was not well organized to say the least:).

On the other hand it should be definitely chosen by the user whether commented calls should be ignored. I will look into this as soon as i can. Thanks

12 Feb 2014 Image overlay Overlay a binary mask onto an image using a specified color Author: Steve Eddins

22 Jan 2014 FFT-based convolution Discrete convolution using FFT method Author: Bruno Luong

Excellent job! Nicely documented and elegant code and to the point!

Works much faster than conv2 for full case, and also faster than conv2 with option 'valid', which misteriously makes conv2 35x faster with a 500x500 matrix with a 400x400 one (makes me suspect that conv2 + 'valid' does not just extract the mid part but saves computations).

Comments and Ratings on Massimo Ciacci's Files View all
Updated File Comment by Comments Rating
21 Nov 2014 line_fewer_markers An alias of the LINE command, with additional control for markers, in number and location. Author: Massimo Ciacci Yonatan Afework

Great work!

21 Nov 2014 line_fewer_markers An alias of the LINE command, with additional control for markers, in number and location. Author: Massimo Ciacci Yonatan Afework

14 Nov 2014 line_fewer_markers An alias of the LINE command, with additional control for markers, in number and location. Author: Massimo Ciacci Julio

works very fine. Thank you so much.

21 Oct 2014 line_fewer_markers An alias of the LINE command, with additional control for markers, in number and location. Author: Massimo Ciacci Jérémy

Great !
This makes perfectly what I needed.
Thank you for your answer so fast!

( N.B: For Matlab R2009B, the function iscolumn(x) isn't supported, so I simply replaced it with (size(x,2)==1) )

17 Oct 2014 line_fewer_markers An alias of the LINE command, with additional control for markers, in number and location. Author: Massimo Ciacci Massimo Ciacci

@Jeremy

Yes, there is a workaround to use it in plotyy, that does not require changing line_fewer_markers, just function pointers, as follows:

figure(10); hold on; set(gca,'FontSize',16); set(gca,'FontName','Times'); set(gcf,'Color',[1,1,1]);
x=(1:10);
y1=x.^2;y2=x.^3;

f1 = @(x,y)line_fewer_markers(x,y,5,'ro','LegendLine','off');
f2 = @(x,y)line_fewer_markers(x,y,8,'bs','Spacing','curve','markerfacecolor','b');
[u,lh1,lh2] = plotyy(x,y1,x,y2,f1,f2)

legend('curve 1','curve 2')

Contact us