TransWikia.com

Error in graphs when passing to pdf

TeX - LaTeX Asked by adriana on January 28, 2021

I am plotting 3 graphs in a column and I find that when I pass the doc to PDF the three graphs lose the right axis… Could you help me?

begin{subfigure}%{0.5linewidth}
begin{adjustbox}{width=0.5linewidth}
%centering
begin{tikzpicture}
begin{axis}[ymin=0,ymax=1.5,xmin=0.6508,xmax=1.53,axis background/.style={fill=blue,draw=black},xlabel=$y$, ylabel=$d$, title={Panel (a)}]
     addplot
    [const plot,fill=white,draw=black] 
coordinates
{(0.6508,0.2487)
(0.6623,0.2487)
(0.674,0.2563)
(0.6859,0.2714)
(0.698,0.294)
(0.7103,0.3015)
(0.7229,0.3241)
(0.7356,0.3467)
(0.7486,0.3618)
(0.7619,0.3844)
(0.7753,0.407)
(0.789,0.4296)
(0.803,0.4447)
(0.8172,0.4673)
(0.8316,0.4899)
(0.8463,0.5126)
(0.8613,0.5427)
(0.8765,0.5653)
(0.892,0.5879)
(0.9077,0.6181)
(0.9238,0.6482)
(0.9401,0.6784)
(0.9567,0.7085)
(0.9736,0.7462)
(0.9908,0.7764)
(1.0083,0.8141)
(1.0262,0.8518)
(1.0443,0.8894)
(1.0627,0.9347)
(1.0815,0.9724)
(1.1006,1.0176)
(1.1201,1.0704)
(1.1399,1.1156)
(1.16,1.1683)
(1.1805,1.2211)
(1.2014,1.2739)
(1.2226,1.3342)
(1.2442,1.402)
(1.2662,1.4623)
(1.2886,1.5)
(1.3113,1.5)
(1.3345,1.5)
(1.3581,1.5)
(1.3821,1.5)
(1.4065,1.5)
(1.4314,1.5)
(1.4567,1.5)
(1.4824,1.5)
(1.5086,1.5)
(1.5353,1.5)} 
    closedcycle;
    node at (axis cs:0.8,1) 
            {large textcolor{white}{$z'=1$}};
    node at (axis cs:1.3,0.5) 
            {large textcolor{black}{$z'=0$ }};
end{axis}
end{tikzpicture}
end{adjustbox}
end{subfigure}
medskip
begin{subfigure}%[b]{0.5linewidth}
begin{adjustbox}{width=0.5linewidth}
centering
begin{tikzpicture}
begin{axis}[ymin=0,ymax=1.5,xmin=0.65,xmax=1.53,axis background/.style={fill=white,draw=black},xlabel=$y$, ylabel=$d$, title={Panel (b)}]
     addplot
    [const plot,fill=orange,draw=black] 
coordinates
{(0.6508,0.0905)
(0.6623,0.0905)
(0.674,0.098)
(0.6859,0.098)
(0.698,0.1206)
(0.7103,0.1206)
(0.7229,0.1432)
(0.7356,0.1583)
(0.7486,0.1734)
(0.7619,0.1884)
(0.7753,0.2035)
(0.789,0.2261)
(0.803,0.2412)
(0.8172,0.2563)
(0.8316,0.2714)
(0.8463,0.2864)
(0.8613,0.3015)
(0.8765,0.3241)
(0.892,0.3392)
(0.9077,0.3618)
(0.9238,0.3844)
(0.9401,0.407)
(0.9567,0.4296)
(0.9736,0.4523)
(0.9908,0.4749)
(1.0083,0.505)
(1.0262,0.5276)
(1.0443,0.5578)
(1.0627,0.5879)
(1.0815,0.6256)
(1.1006,0.6558)
(1.1201,0.6935)
(1.1399,0.7236)
(1.16,0.7688)
(1.1805,0.8065)
(1.2014,0.8518)
(1.2226,0.897)
(1.2442,0.9497)
(1.2662,0.9874)
(1.2886,1.0402)
(1.3113,1.0854)
(1.3345,1.1457)
(1.3581,1.2136)
(1.3821,1.2889)
(1.4065,1.3568)
(1.4314,1.4246)
(1.4567,1.4246)
(1.4824,1.4774)
(1.5086,1.4774)
(1.5353,1.5)} 
    closedcycle;
    node at (axis cs:0.8,1) 
            {large textcolor{black}{$z'=1$}};
    node at (axis cs:1.3,0.5) 
            {large textcolor{white}{$z'=0$ }};
end{axis}
end{tikzpicture}
end{adjustbox}
end{subfigure}
medskip
begin{subfigure}%[b]{0.5linewidth}
begin{adjustbox}{width=0.5linewidth} 
centering
begin{tikzpicture}
begin{axis}[ymin=0,ymax=1.5,xmin=0.65,xmax=1.53,axis background/.style={fill=white,draw=black},xlabel=$y$,
     ylabel=$d$, title={Panel (c)}]
     addplot
    [const plot,fill=orange,draw=black] 
coordinates
{ (0.6508,0.1508)
(0.6623,0.1508)
(0.674,0.1508)
(0.6859,0.1583)
(0.698,0.1658)
(0.7103,0.196)
(0.7229,0.2035)
(0.7356,0.2337)
(0.7486,0.2638)
(0.7619,0.2864)
(0.7753,0.3166)
(0.789,0.3392)
(0.803,0.3693)
(0.8172,0.392)
(0.8316,0.4221)
(0.8463,0.4523)
(0.8613,0.4749)
(0.8765,0.505)
(0.892,0.5352)
(0.9077,0.5653)
(0.9238,0.603)
(0.9401,0.6332)
(0.9567,0.6709)
(0.9736,0.7085)
(0.9908,0.7462)
(1.0083,0.7915)
(1.0262,0.8367)
(1.0443,0.8819)
(1.0627,0.9271)
(1.0815,0.9799)
(1.1006,1.0327)
(1.1201,1.0854)
(1.1399,1.1457)
(1.16,1.1985)
(1.1805,1.2739)
(1.2014,1.3342)
(1.2226,1.4095)
(1.2442,1.4849)
(1.2662,1.5)
(1.2886,1.5)
(1.3113,1.5)
(1.3345,1.5)
(1.3581,1.5)
(1.3821,1.5)
(1.4065,1.5)
(1.4314,1.5)
(1.4567,1.5)
(1.4824,1.5)
(1.5086,1.5)
(1.5353,1.5)} 
    closedcycle;
    node at (axis cs:0.8,1) 
            {large textcolor{black}{$z'=1$}};
    node at (axis cs:1.3,0.5) 
            {large textcolor{white}{$z'=0$ }};
end{axis}
end{tikzpicture}
end{adjustbox}
end{subfigure} 

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP