Keywords: Cos proportional.svg Plot of cos x with proportional scales and the gnuplot source Own pl User Olaf <pre> set terminal svg enhanced font Arial 10 size 658 125 set output 'c \temp\cos svg' set border 0 set style arrow 2 head filled lw 2 size 0 15 30 set style arrow 4 nohead set samples 1000 unset key set xtics axis ÔÇô2¤Ç -2 pi ÔÇô3/2 ¤Ç -1 5 pi ÔÇô¤Ç -pi ÔÇô1/2 ¤Ç -pi/2 1/2 ¤Ç pi/2 ¤Ç pi 3/2 ¤Ç 1 5 pi 2¤Ç 2 pi scale 1 set x2tics axis ÔÇô360 o -2 pi ÔÇô270 o -1 5 pi ÔÇô180 o -pi ÔÇô90 o -pi/2 90 o pi/2 180 o pi 270 o 1 5 pi 360 o 2 pi scale 1 offset 0 2 7 set ytics axis -1 -0 5 0 5 1 set style line 3 lw 1 lt 5 lc rgb black set style line 1 lc rgb blue lw 2 set arrow arrowstyle 2 from -2 pi-0 3 0 to 2 pi+0 3 0 set arrow arrowstyle 2 from 0 -1 05 to 0 1 25 set arrow arrowstyle 4 linestyle 0 from 0 1 to 2 pi 1 set arrow arrowstyle 4 linestyle 0 from 2 pi 1 to 2 pi 0 set arrow arrowstyle 4 linestyle 0 from 0 -1 to pi -1 set arrow arrowstyle 4 linestyle 0 from pi -1 to pi 0 plot -2 pi-0 3 2 pi+0 3 -1 1 cos x linestyle 1 set output unset arrow unset label </pre> SVG trigonometry Cosine function |