stem and set function: A question

Dear all,
I have
subplot(2, 1, i)
z= stem(h);
set(z, 'Marker', 'none')
Is it possible to increase the thickness of the lines for this plot and use red color for the lines?
thanks

 Accepted Answer

Matt Fig
Matt Fig on 5 Sep 2012
Edited: Matt Fig on 5 Sep 2012
set(z,'linewidth',6,'color','r')

3 Comments

set(z,'linewidth',6,'color','r')
Hi Azzi, I must have posted while you were writing!
Hi Mat, exactly

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!