Prev: simulation
Next: trapz syntax - any help appreciated
From: Matt Fig on 6 May 2010 20:36 I just want to point out that there are many more than 13 markers possible. This is true because the color scheme can be manipulated so finely. Here is an example, using only one marker style: for ii = 1:10 plot(sort(rand(1,10))+.5*ii,'>-','markerfacecolor',rand(1,3),... 'markeredgecolor',rand(1,3),'linewidth',2) hold on end Also, in Walter's post, 'b' is not a marker, at least in 2007b - this will error. Also, I think the last line should be: legend(lines, legstrs{:});
From: Arie Driga on 6 May 2010 20:53 "Matt Fig" <spamanon(a)yahoo.com> wrote in message <hrvn9j$ncv$1(a)fred.mathworks.com>... > I just want to point out that there are many more than 13 markers possible. This is true because the color scheme can be manipulated so finely. Here is an example, using only one marker style: > > for ii = 1:10 > plot(sort(rand(1,10))+.5*ii,'>-','markerfacecolor',rand(1,3),... > 'markeredgecolor',rand(1,3),'linewidth',2) > hold on > end > > Also, in Walter's post, 'b' is not a marker, at least in 2007b - this will error. Also, I think the last line should be: > > legend(lines, legstrs{:}); Thanks to both Walter and Matt.. I will try it now.. Maybe I will come later if there is command where I do not understand the function.
From: Walter Roberson on 6 May 2010 20:53
Matt Fig wrote: > Also, in Walter's post, 'b' is not a marker, at least in 2007b - this > will error. Hmmm, yes, how did that creep in? I was copying off of the reference list... must have been a page-display as I had the page at the far edge of my screen. > Also, I think the last line should be: > > legend(lines, legstrs{:}); Oops x 2. I think that means it is time to get some nutrition into me. |