function h=crtaj_vrat(h)

figure(h);, hold off;

pragovi_v=[0:1:14]+0.5;
pragovi_h=[0 6]+0.5;

for i=1:13
    plot([pragovi_v(i) pragovi_v(i)],pragovi_h,'k','LineWidth',2);
    hold on;
end

plot([pragovi_v(1) pragovi_v(14)],[pragovi_h(1) pragovi_h(1)], 'k','LineWidth',2)
plot([pragovi_v(1) pragovi_v(14)],[pragovi_h(2) pragovi_h(2)], 'k','LineWidth',2)

plot([0.6 0.6],[0.5 6.5],'k','LineWidth',2)

%crtaj tocke ili pragove
vektor=[3 5 7 10 12];
for i=1:5
%     plot(vektor(i),0,'o','MarkerEdgeColor','k',...
%                 'MarkerFaceColor','g',...
%                 'MarkerSize',10)
    plot([vektor(i) vektor(i)],[0.75 6.25],'Color',[0.8 0.7 0.14],'LineWidth',10)

end

%crtaj zice
for i=1:6
    plot([0.5 13.5],[i i])
end

plot(0,-3,'w')

ylabel('Zice'), xlabel('Polja'),title('Prikaz tonova na vratu gitare')
set(gca, 'YDir', 'normal')

set(gca, 'YTick', [1 2 3 4 5 6]);
set(gca, 'XTick', [1 2 3 4 5 6 7 8 9 10 11 12]);

set(gca,'YTickLabel',{'E0','A1','D1','G1','B1','E2'})
set(gca,'XTickLabel',{'1','2','3','4','5','6','7','8','9','10','11','12'})


