Line styles in MATLAB

Some possible line style codes are given below:

t=0:0.001:2*pi;
x=sin(t);
plot(t,x,'--');

t=0:0.001:2*pi;
x=sin(t);
plot(t,x,'o');

t=0:0.001:2*pi;
x=sin(t);
plot(t,x,'+');


t=0:0.001:2*pi;
x=sin(t);
plot(t,x,'.');

If you want more variety , type ( help plot ) in command window.

No comments

'; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })();