matlab源代码
依次为:arcsecx, arccscx, arctanx, arccotx, arcsinx, arccosx
figure(1)
x=0:0.01:pi;
y=sec(x);
plot(y,x);
title ('arcsecx')
set(gca,'YTick',[-2*pi:pi/2:2*pi])
set(gca,'ytickLabel',{'-2π','-3π/2','-π','-π/2','0','π/2','π','3π/2','2π'})
grid on
axis([-1.2 2*pi -1.2 2*pi])
figure(2)
x=-pi/2:0.01:pi/2;
y=csc(x);
plot(y,x);
title ('arccscx')
set(gca,'YTick',[-2*pi:pi/2:2*pi])
set(gca,'ytickLabel',{'-2π','-3π/2','-π','-π/2','0','π/2','π','3π/2','2π'})
grid on
axis([-1.2 2*pi -1.2 2*pi])
figure(3)
x=-pi/2:0.01:pi/2;
y=tan(x);
plot(y,x);
title ('arctanx')
set(gca,'YTick',[-pi:pi/2:pi])
set(gca,'ytickLabel',{'-π','-π/2','0','-π/2','π'})
grid o