, , Matlab .
, .
Matlab Central
t=linspace(0,10,100);plot(t,sin(2*pi*t));
axis([-10 10 -1 1]);
y=get(gca,'ytick');
x=get(gca,'xtick');
hold on
Lx=line([x(1) x(11)],[0 0]);
Ly=line([0 0],[y(1) y(11)]);
set(Lx,'color',[1 0 0]);
set(Ly,'color',[1 0 0]);
for i=1:length(x)
plot(x(i),0,'k*',0,y(i),'k*');
text(x(i),-.05,num2str(x(i)));
text(-1,y(i),num2str(y(i)));
end
set(gca,'yticklabel',[],'xticklabel',[],'ytick',[],'xtick',[]);
set(gca,'visible','off')

fileexchange, , , .