qpen id | join | cap | pattern | color | width | -alpha | 'none'
selects a new pen.
ID must be a single capital letter
JOIN must be one of: miterjoin beveljoin roundjoin
CAP must be one of: flatcap squarecap roundcap
PATTERN must be one of: solid dash dot none
dash may optionally be followed by a vector of stroke and space lengths
dot may optionally be followed by a vector of space lengths
COLOR may be a single character matlab color, or a 3- or 6-digit RGB
specification.
WIDTH is linewidth in points, or 0 for hairline.
ALPHA specifies transparency between 0 and 1.
qfigure('qpen', 3, 3);
qpen A r 2
qplot([0 1],[0 0]);
qpen('b', 'dash', [ 10 6 1 6]);
qplot([0 1],[1 1]);
qpen 930 dot 6
qplot([0 1], [2 2]);
qpen([1 0 1], 'solid');
qplot([0 1], [3 3]);
qpen k miterjoin roundcap 10
qplot([.3 .5 .7],[.2 .8 .2]);
qpen k roundjoin squarecap 10
qplot([.3 .5 .7],[.2 .8 .2]+1);
qpen k beveljoin flatcap 10
qplot([.3 .5 .7],[.2 .8 .2]+2);
qpen A
qplot([.4 .6], [.2 .2]);