1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{tikz}
\usetikzlibrary{decorations.markings,decorations.pathmorphing,decorations.pathreplacing,decorations.text}
\usetikzlibrary{intersections}
\mathversion{bold}
\begin{document}
\begin{tikzpicture}
% Définition du style "flèche" mettant une flèche au milieu du trait tracé ;
% #1 = position (ici, #1=0.5 pour le milieu) et #2 = couleur. Le scale=2 est pour voir un peu mieux la flèche ; à changer selon les besoins
\tikzset{fleche/.style args={#1:#2}{ postaction = decorate,decoration={name=markings,mark=at position #1 with {\arrow[#2,scale=2]{>}}}}}
\coordinate (A) at (0.5,0.5);
\coordinate (B) at (2.5,2.6);
\coordinate (C) at (3.2,5.5);
\coordinate (D) at (4.6,3.2);
\coordinate (E) at (5.72,1.36);
\coordinate (F) at (7,0.5);
\draw[->, -latex] (0,0)--(8,0) node[below]{$s (kJ.K^{-1}.kg^{-1})$};
\draw[->, -latex] (0,0)--(0,5) node[left]{$T (K)$};;
\node[draw, circle, inner sep=2pt] at (0.5,2.5){$L$};
\node[draw, circle, inner sep=2pt] at (6.5,2.5){$V$};
\node[draw, circle, inner sep=2pt] at (2.4,0.6){$L$};
\node at (3,0.6){$+$};
\node[draw, circle, inner sep=2pt] at (3.6,0.6){$V$};
\draw[line width=1pt, dashed, name path=courbe] (A) ..controls (B) and (C) .. (D) node[pos=.1] (P){} node[pos=.5] (Q) {} ..controls (E) .. (F) ;
\draw[name path=DroiteUne] (-0.2,3.5)node[left]{$T_1$}--++(7,0);
\draw[name path=DroiteDeux] (-0.2,1.5)node[left]{$T_2$}--++(7,0);
\path[name intersections={of=courbe and DroiteUne}];
\coordinate (LUn) at (intersection-1);
\coordinate (I) at (intersection-2);
\path[name intersections={of=courbe and DroiteDeux}];
\coordinate (LDeux) at (intersection-1);
\coordinate (G) at (intersection-2);
\draw[fleche=0.5:red,line width=1.5pt, red] (I) --(LUn);
\draw[fleche=0.5:red,line width=1.5pt, red, name path=DroiteTrois] (I) --++(0,-2);
\path[name intersections={of=DroiteDeux and DroiteTrois}];
\coordinate (Finter) at (intersection-1);
\draw[fleche=0.5:red,line width=1.5pt, red] (LUn) to[in=53, out=-129] (LDeux);
\draw[fleche=0.5:red,line width=1.5pt, red] (LDeux)--(Finter);
\fill[gray] (LUn) circle (1mm) node[below right, black]{$L_1$};
\fill[gray] (I) circle (1mm) node[below left, black]{$I$};
\fill[gray] (LDeux) circle (1mm) node[below right, black]{$L_2$};
\fill[gray] (Finter) circle (1mm) node[below, black]{$F$};
\fill[gray] (G) circle (1mm);
\fill[gray] (3.6,4.04) circle (1mm) node[above, black]{$C$};
\end{tikzpicture}
\end{document} |
Partager