\documentclass[10pt]{article} \usepackage[T1]{fontenc} \usepackage{textcomp} \usepackage{ifluatex,ifxetex} \ifluatex \usepackage{fontspec} \setmainfont{Free Serif} \else\ifxetex \usepackage{fontspec} \setmainfont{FreeSerif} \else \usepackage{ucs} \SetUnicodeOption{mathletters} \usepackage[utf8x]{inputenc} \fi\fi \usepackage{gnuplot-lua-tikz} \pagestyle{empty} \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} \setlength\PreviewBorder{\gpbboxborder} \begin{document} \begin{tikzpicture}[gnuplot] %% generated with GNUPLOT 5.4p8 (Lua 5.3; terminal rev. Jun 2020, script rev. 118) %% Wed Nov 8 15:45:27 2023 \path (0.000,0.000) rectangle (12.500,8.750); \gpcolor{color=gp lt color border} \gpsetlinetype{gp lt border} \gpsetdashtype{gp dt solid} \gpsetlinewidth{1.00} \draw[gp path] (1.504,0.985)--(1.684,0.985); \node[gp node right] at (1.320,0.985) {$0$}; \draw[gp path] (1.504,2.228)--(1.684,2.228); \node[gp node right] at (1.320,2.228) {$0.01$}; \draw[gp path] (1.504,3.470)--(1.684,3.470); \node[gp node right] at (1.320,3.470) {$0.02$}; \draw[gp path] (1.504,4.713)--(1.684,4.713); \node[gp node right] at (1.320,4.713) {$0.03$}; \draw[gp path] (1.504,5.956)--(1.684,5.956); \node[gp node right] at (1.320,5.956) {$0.04$}; \draw[gp path] (1.504,7.198)--(1.684,7.198); \node[gp node right] at (1.320,7.198) {$0.05$}; \draw[gp path] (1.504,8.441)--(1.684,8.441); \node[gp node right] at (1.320,8.441) {$0.06$}; \draw[gp path] (1.504,0.985)--(1.504,1.165); \node[gp node center] at (1.504,0.677) {$0$}; \draw[gp path] (2.715,0.985)--(2.715,1.165); \node[gp node center] at (2.715,0.677) {$10000$}; \draw[gp path] (3.927,0.985)--(3.927,1.165); \node[gp node center] at (3.927,0.677) {$20000$}; \draw[gp path] (5.138,0.985)--(5.138,1.165); \node[gp node center] at (5.138,0.677) {$30000$}; \draw[gp path] (6.350,0.985)--(6.350,1.165); \node[gp node center] at (6.350,0.677) {$40000$}; \draw[gp path] (7.561,0.985)--(7.561,1.165); \node[gp node center] at (7.561,0.677) {$50000$}; \draw[gp path] (8.773,0.985)--(8.773,1.165); \node[gp node center] at (8.773,0.677) {$60000$}; \draw[gp path] (9.984,0.985)--(9.984,1.165); \node[gp node center] at (9.984,0.677) {$70000$}; \draw[gp path] (11.196,0.985)--(11.196,1.165); \node[gp node center] at (11.196,0.677) {$80000$}; \draw[gp path] (1.504,8.441)--(1.504,0.985)--(11.947,0.985); \node[gp node center,rotate=-270] at (0.108,4.713) {\(V\) (p.u.)}; \node[gp node center] at (6.725,0.215) {Time (sec)}; \node[gp node right] at (4.084,6.765) {\(V_{51},Scen_2\)}; \gpcolor{rgb color={0.580,0.000,0.827}} \gpsetdashtype{gp dt 1} \draw[gp path] (4.268,6.765)--(5.184,6.765); \draw[gp path] (1.504,0.985)--(1.577,8.046)--(1.649,8.046)--(1.722,8.046)--(1.795,8.046)% --(1.867,8.046)--(1.940,8.045)--(2.013,8.046)--(2.086,8.076)--(2.158,8.076)--(2.231,8.086)% --(2.304,8.110)--(2.376,8.119)--(2.449,8.108)--(2.522,8.098)--(2.594,8.106)--(2.667,8.118)% --(2.740,8.118)--(2.812,8.118)--(2.885,8.117)--(2.958,8.126)--(3.030,8.125)--(3.103,8.130)% --(3.176,8.132)--(3.249,8.135)--(3.321,8.135)--(3.394,8.135)--(3.467,8.137)--(3.539,8.142)% --(3.612,8.141)--(3.685,8.143)--(3.757,8.144)--(3.830,8.144)--(3.903,8.136)--(3.975,8.137)% --(4.048,8.147)--(4.121,8.147)--(4.193,8.147)--(4.266,8.148)--(4.339,8.149)--(4.412,8.149)% --(4.484,8.147)--(4.557,8.143)--(4.630,8.144)--(4.702,8.141)--(4.775,8.140)--(4.848,8.140)% --(4.920,8.146)--(4.993,8.146)--(5.066,8.146)--(5.138,8.147)--(5.211,8.144)--(5.284,8.140)% --(5.357,8.141)--(5.429,8.139)--(5.502,8.136)--(5.575,8.135)--(5.647,8.133)--(5.720,8.131)% --(5.793,8.131)--(5.865,8.126)--(5.938,8.127)--(6.011,8.127)--(6.083,8.126)--(6.156,8.123)% --(6.229,8.123)--(6.301,8.116)--(6.374,8.112)--(6.447,8.107)--(6.520,8.105)--(6.592,8.105)% --(6.665,8.104)--(6.738,8.103)--(6.810,8.097)--(6.883,8.090)--(6.956,8.085)--(7.028,8.084)% --(7.101,8.082)--(7.174,8.075)--(7.246,8.073)--(7.319,8.073)--(7.392,8.068)--(7.465,8.064)% --(7.537,8.058)--(7.610,8.058)--(7.683,8.058)--(7.755,8.051)--(7.828,8.041)--(7.901,8.028)% --(7.973,8.026)--(8.046,8.023)--(8.119,8.020)--(8.191,8.020)--(8.264,8.006)--(8.337,8.006)% --(8.409,7.996)--(8.482,7.996)--(8.555,7.989)--(8.628,7.989)--(8.700,7.996)--(8.773,7.996)% --(8.846,7.989)--(8.918,8.037)--(8.991,8.044)--(9.064,7.973)--(9.136,8.033)--(9.209,8.116)% --(9.282,8.111)--(9.354,8.039)--(9.427,8.033)--(9.500,8.135)--(9.572,8.065)--(9.645,8.123)% --(9.718,8.123)--(9.791,8.114)--(9.863,8.092)--(9.936,7.970)--(10.009,8.098)--(10.081,8.034)% --(10.154,8.037)--(10.227,8.037)--(10.299,8.040)--(10.372,7.970)--(10.445,8.109)--(10.517,8.109)% --(10.590,8.107)--(10.663,8.047)--(10.736,8.025)--(10.808,8.088)--(10.881,8.100)--(10.954,8.099)% --(11.026,8.099)--(11.099,8.039)--(11.172,8.036)--(11.244,8.029)--(11.317,8.029)--(11.390,7.962)% --(11.462,8.020)--(11.535,8.020)--(11.608,8.016)--(11.680,8.016)--(11.753,7.962)--(11.826,8.030)% --(11.899,8.021)--(11.947,8.021); \gpcolor{color=gp lt color border} \node[gp node right] at (4.084,6.396) {\(V_{51},Scen_1\)}; \gpcolor{rgb color={0.000,0.620,0.451}} \draw[gp path] (4.268,6.396)--(5.184,6.396); \draw[gp path] (1.504,0.985)--(1.577,4.519)--(1.649,4.519)--(1.722,4.519)--(1.795,4.519)% --(1.867,4.519)--(1.940,4.519)--(2.013,4.519)--(2.086,4.548)--(2.158,4.548)--(2.231,4.553)% --(2.304,4.580)--(2.376,4.591)--(2.449,4.590)--(2.522,4.590)--(2.594,4.590)--(2.667,4.596)% --(2.740,4.596)--(2.812,4.597)--(2.885,4.597)--(2.958,4.602)--(3.030,4.602)--(3.103,4.602)% --(3.176,4.604)--(3.249,4.609)--(3.321,4.609)--(3.394,4.609)--(3.467,4.609)--(3.539,4.614)% --(3.612,4.611)--(3.685,4.611)--(3.757,4.613)--(3.830,4.613)--(3.903,4.611)--(3.975,4.611)% --(4.048,4.615)--(4.121,4.615)--(4.193,4.615)--(4.266,4.616)--(4.339,4.616)--(4.412,4.616)% --(4.484,4.616)--(4.557,4.613)--(4.630,4.615)--(4.702,4.616)--(4.775,4.616)--(4.848,4.616)% --(4.920,4.617)--(4.993,4.617)--(5.066,4.617)--(5.138,4.617)--(5.211,4.617)--(5.284,4.618)% --(5.357,4.619)--(5.429,4.619)--(5.502,4.617)--(5.575,4.617)--(5.647,4.617)--(5.720,4.615)% --(5.793,4.615)--(5.865,4.611)--(5.938,4.611)--(6.011,4.611)--(6.083,4.611)--(6.156,4.609)% --(6.229,4.609)--(6.301,4.609)--(6.374,4.609)--(6.447,4.606)--(6.520,4.604)--(6.592,4.604)% --(6.665,4.603)--(6.738,4.602)--(6.810,4.601)--(6.883,4.599)--(6.956,4.596)--(7.028,4.596)% --(7.101,4.596)--(7.174,4.592)--(7.246,4.591)--(7.319,4.591)--(7.392,4.587)--(7.465,4.587)% --(7.537,4.583)--(7.610,4.583)--(7.683,4.583)--(7.755,4.582)--(7.828,4.579)--(7.901,4.573)% --(7.973,4.571)--(8.046,4.571)--(8.119,4.570)--(8.191,4.570)--(8.264,4.563)--(8.337,4.563)% --(8.409,4.559)--(8.482,4.559)--(8.555,4.559)--(8.628,4.559)--(8.700,4.559)--(8.773,4.559)% --(8.846,4.559)--(8.918,4.545)--(8.991,4.542)--(9.064,4.542)--(9.136,4.539)--(9.209,4.535)% --(9.282,4.535)--(9.354,4.535)--(9.427,4.533)--(9.500,4.526)--(9.572,4.526)--(9.645,4.526)% --(9.718,4.522)--(9.791,4.519)--(9.863,4.512)--(9.936,4.503)--(10.009,4.503)--(10.081,4.503)% --(10.154,4.502)--(10.227,4.502)--(10.299,4.502)--(10.372,4.502)--(10.445,4.502)--(10.517,4.500)% --(10.590,4.493)--(10.663,4.492)--(10.736,4.492)--(10.808,4.485)--(10.881,4.482)--(10.954,4.460)% --(11.026,4.524)--(11.099,4.524)--(11.172,4.460)--(11.244,4.460)--(11.317,4.460)--(11.390,4.460)% --(11.462,4.460)--(11.535,4.460)--(11.608,4.460)--(11.680,4.460)--(11.753,4.460)--(11.826,4.460)% --(11.899,4.460)--(11.947,4.460); \gpsetpointsize{6.00} \gp3point{gp mark 2}{}{(1.504,0.985)} \gp3point{gp mark 2}{}{(2.594,4.590)} \gp3point{gp mark 2}{}{(3.685,4.611)} \gp3point{gp mark 2}{}{(4.775,4.616)} \gp3point{gp mark 2}{}{(5.865,4.611)} \gp3point{gp mark 2}{}{(6.956,4.596)} \gp3point{gp mark 2}{}{(8.046,4.571)} \gp3point{gp mark 2}{}{(9.136,4.539)} \gp3point{gp mark 2}{}{(10.227,4.502)} \gp3point{gp mark 2}{}{(11.317,4.460)} \gp3point{gp mark 2}{}{(4.726,6.396)} \gpcolor{color=gp lt color border} \gpsetdashtype{gp dt solid} \draw[gp path] (1.504,8.441)--(1.504,0.985)--(11.947,0.985); %% coordinates of the plot area \gpdefrectangularnode{gp plot 1}{\pgfpoint{1.504cm}{0.985cm}}{\pgfpoint{11.947cm}{8.441cm}} \end{tikzpicture} %% gnuplot variables \end{document}