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.
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