stem and set function: A question

1 view (last 30 days)
Sabbas
Sabbas on 5 Sep 2012
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
Matt Fig
Matt Fig on 5 Sep 2012
Hi Azzi, I must have posted while you were writing!

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!