Hii
i am posting code with the warning message.can you please help me how to solve this?
%code for multiplotting
x=1:4*pi
y=sin(x)
z=cos(x)
k=tan(X)
plot(x,y)
hold on
[AX H1 H2]=plotyy(x,z,x,k)
r=cot(x)
s=sec(x)
hold on
plotyy(x,r,x,s)
legend('sinx','cosx','tanx','cotx','secx')
Warning: Ignoring extra legend entries.
> In legend at 294
"secx does not appear in the graph"
also while zooming this curve does not get zoomed

답변 (0개)

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

태그

질문:

2012년 5월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by