Rank: 5242 based on 19 downloads (last 30 days) and 1 file submitted
photo

Matthijs

E-mail
Company/University
Chalmers University of Technology

Personal Profile:

 

Watch this Author's files

 

Files Posted by Matthijs
Updated   File Tags Downloads
(last 30 days)
Comments Rating
11 Aug 2009 Screenshot Add plot markers to an existing plot Add a specified number of markers to a plot Author: Matthijs plot, article, markers, bw 19 5
  • 4.0
4.0 | 3 ratings
Comments and Ratings by Matthijs
Updated File Comments Rating
31 Aug 2009 GETTHETANGENT GETTHETANGENT returns the slope and the intercept of the tangent to a curve. Author: Jean-Luc Dellis

Very useful! Should be standard as part of the datatip in Matlab.

Comments and Ratings on Matthijs 's Files View all
Updated File Comment by Comments Rating
12 Jan 2012 Add plot markers to an existing plot Add a specified number of markers to a plot Author: Matthijs Karl

I like this function but when I set(gca,'Xlim',[startnum endnum]) the plot extend outside of the box.

28 Mar 2011 Add plot markers to an existing plot Add a specified number of markers to a plot Author: Matthijs E.

Yep, with some additional changes (such as Carl Fischer suggested) this is very useful code!

12 Oct 2010 Add plot markers to an existing plot Add a specified number of markers to a plot Author: Matthijs Carl Fischer

I'm surprised this hasn't got more good ratings and comments.
May I suggest you also copy the LineWidth and MarkerSize properties from the original plot to the markers. Currently you only copy the LineStyle and Color. Even if there are no markers in the original plot the MarkerSize property can still be set.

13 Oct 2009 Add plot markers to an existing plot Add a specified number of markers to a plot Author: Matthijs Carl Fischer

Thanks for the update. A couple of minor issues. The function won't cope with more than 13 plots, and also fails if called with N=1. There's not much you can do about this but a clear error message for these cases would be an improvement and would have saved me about 10 seconds :-)

01 Apr 2009 Add plot markers to an existing plot Add a specified number of markers to a plot Author: Matthijs Carl Fischer

Useful but it seems you need to increase the number of markers by 2 to obtain the correct number.

Contact us