Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[12pt,a4paper]{article}
- usepackage{pgf,tikz,tkz-euclide,pgfplots}
- usepackage{listings,float,amsmath,amssymb,amsfonts,amsthm}
- usetikzlibrary{calc,patterns,angles,quotes,patterns,arrows}
- usetikzlibrary{decorations.pathmorphing,intersections,through,backgrounds,fit,arrows.meta}
- usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
- begin{document}
- begin{tikzpicture}[scale=0.95]tiny
- coordinate (O) at (0,0);
- draw [-latex,very thick] (-1,0)--(6,0)coordinate(X) node[right]{$x$};
- draw [-latex,very thick] (0,-1)--(0,5)coordinate(Y) node[left]{$y$};
- node at (O) [below left]{$O$};
- fill (1,1)coordinate (q1) circle (2pt)node[left]{$q_1$};
- fill (2,3)coordinate (q2) circle (2pt)node[left]{$q_2$};
- fill (3,4)coordinate (q3) circle (2pt)node[left]{$q_3$};
- fill (5,3.5)coordinate (qn) circle (2pt)node[left]{$q_n$};
- fill (4,1.25)coordinate (P) circle (2pt)node[above=1.5mm, right=1mm]{$P$};
- draw [shorten >=0.4cm,shorten <=0.4cm,dotted,thick] (q3) to [bend left=6](qn);
- foreach i in {1,2,3,n}{
- draw [-latex, shorten >= -0.7500cm](qi)--(P)node[midway,sloped,above]{$mathbf{D}_{i}$};}
- end{tikzpicture}
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement