Impact-Site-Verification: dbe48ff9-4514-40fe-8cc0-70131430799e

Search This Blog

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

Popular Posts