x = -pi:pi/10:pi;
y = tan(sin(x)) - sin(tan(x));
figure
plot(x,y,'--gs',...
'LineWidth',2,...%控制画出来的虚线宽度
'MarkerSize',10,...%方形点大小
'MarkerEdgeColor','b',...%方形点边界颜色
'MarkerFaceColor',[0.5,0.5,0.5])%方形点填充颜色

Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!