Ends of plot get cut offplotting two time series with boundsGrouped bar chartHow to define the default...

What is the meaning of "notice to quit at once" and "Lotty points”

Is there any relevance to Thor getting his hair cut other than comedic value?

Why doesn't "adolescent" take any articles in "listen to adolescent agonising"?

Can we carry rice to Japan?

What is better: yes / no radio, or simple checkbox?

Formatting a table to look nice

Make me a metasequence

Being asked to review a paper in conference one has submitted to

Adjust starting of second line

How do I deal with being envious of my own players?

Where is the fallacy here?

How can I conditionally format my HTML table?

Practical reasons to have both a large police force and bounty hunting network?

Ahoy, Ye Traveler!

What is the oldest European royal house?

Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?

An Undercover Army

Is divide-by-zero a security vulnerability?

Has a sovereign Communist government ever run, and conceded loss, on a fair election?

How to chmod files that have a specific set of permissions

Reason why dimensional travelling would be restricted

Create chunks from an array

How spaceships determine each other mass in space?

What is a term for a function that when called repeatedly, has the same effect as calling once?



Ends of plot get cut off


plotting two time series with boundsGrouped bar chartHow to define the default vertical distance between nodes?How do i get the x axis on top but keep a line on the bottomHow to prevent rounded and duplicated tick labels in pgfplots with fixed precision?How to hide empty (value 0) ybars with pgfplots?Show mark labels near marks and not centered in ybar interaval graphLine up nested tikz enviroments or how to get rid of thempgfplots: percentage in matrix plotCenter the axes in the coordinate origin













0















About 1/10 of one of my plots gets cut off on both sides, no matter how xmin and xmax are set. How can this be prevented?



documentclass{standalone}
usepackage{tikz,pgfplots}

begin{document}

begin{tikzpicture} pgfplotsset{scale only axis}
begin{axis}[ymin=0,xmin=0,xmax=1,
axis y line*=left,
width=13cm,height=7cm,tick align=center]
addplot[smooth]
coordinates{
(0.0001,2)
(0.999999,2)
};
end{axis}

begin{axis}[axis y line*=right,
axis x line=none,width=13cm,height=7cm]

addplot[dotted]
coordinates{
(0.0001, 1)
(0.99999,1)};
end{axis}
end{tikzpicture}

end{document}









share|improve this question









New contributor




cheesus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 2





    You have to give, xmin, xmax, ymin and ymax to the second axis environment too. But I am not sure what you really want to do.

    – koleygr
    19 hours ago








  • 1





    If you replace pgfplotsset{scale only axis} by pgfplotsset{scale only axis,xmin=0,xmax=1} then these values will apply to all plots in this tikzpicture.

    – marmot
    19 hours ago











  • Both approaches managed to solve my problem. Thanks.

    – cheesus
    3 hours ago
















0















About 1/10 of one of my plots gets cut off on both sides, no matter how xmin and xmax are set. How can this be prevented?



documentclass{standalone}
usepackage{tikz,pgfplots}

begin{document}

begin{tikzpicture} pgfplotsset{scale only axis}
begin{axis}[ymin=0,xmin=0,xmax=1,
axis y line*=left,
width=13cm,height=7cm,tick align=center]
addplot[smooth]
coordinates{
(0.0001,2)
(0.999999,2)
};
end{axis}

begin{axis}[axis y line*=right,
axis x line=none,width=13cm,height=7cm]

addplot[dotted]
coordinates{
(0.0001, 1)
(0.99999,1)};
end{axis}
end{tikzpicture}

end{document}









share|improve this question









New contributor




cheesus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 2





    You have to give, xmin, xmax, ymin and ymax to the second axis environment too. But I am not sure what you really want to do.

    – koleygr
    19 hours ago








  • 1





    If you replace pgfplotsset{scale only axis} by pgfplotsset{scale only axis,xmin=0,xmax=1} then these values will apply to all plots in this tikzpicture.

    – marmot
    19 hours ago











  • Both approaches managed to solve my problem. Thanks.

    – cheesus
    3 hours ago














0












0








0


0






About 1/10 of one of my plots gets cut off on both sides, no matter how xmin and xmax are set. How can this be prevented?



documentclass{standalone}
usepackage{tikz,pgfplots}

begin{document}

begin{tikzpicture} pgfplotsset{scale only axis}
begin{axis}[ymin=0,xmin=0,xmax=1,
axis y line*=left,
width=13cm,height=7cm,tick align=center]
addplot[smooth]
coordinates{
(0.0001,2)
(0.999999,2)
};
end{axis}

begin{axis}[axis y line*=right,
axis x line=none,width=13cm,height=7cm]

addplot[dotted]
coordinates{
(0.0001, 1)
(0.99999,1)};
end{axis}
end{tikzpicture}

end{document}









share|improve this question









New contributor




cheesus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












About 1/10 of one of my plots gets cut off on both sides, no matter how xmin and xmax are set. How can this be prevented?



documentclass{standalone}
usepackage{tikz,pgfplots}

begin{document}

begin{tikzpicture} pgfplotsset{scale only axis}
begin{axis}[ymin=0,xmin=0,xmax=1,
axis y line*=left,
width=13cm,height=7cm,tick align=center]
addplot[smooth]
coordinates{
(0.0001,2)
(0.999999,2)
};
end{axis}

begin{axis}[axis y line*=right,
axis x line=none,width=13cm,height=7cm]

addplot[dotted]
coordinates{
(0.0001, 1)
(0.99999,1)};
end{axis}
end{tikzpicture}

end{document}






tikz-pgf pgfplots






share|improve this question









New contributor




cheesus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




cheesus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 19 hours ago









JouleV

4,91511139




4,91511139






New contributor




cheesus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 19 hours ago









cheesuscheesus

84




84




New contributor




cheesus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





cheesus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






cheesus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 2





    You have to give, xmin, xmax, ymin and ymax to the second axis environment too. But I am not sure what you really want to do.

    – koleygr
    19 hours ago








  • 1





    If you replace pgfplotsset{scale only axis} by pgfplotsset{scale only axis,xmin=0,xmax=1} then these values will apply to all plots in this tikzpicture.

    – marmot
    19 hours ago











  • Both approaches managed to solve my problem. Thanks.

    – cheesus
    3 hours ago














  • 2





    You have to give, xmin, xmax, ymin and ymax to the second axis environment too. But I am not sure what you really want to do.

    – koleygr
    19 hours ago








  • 1





    If you replace pgfplotsset{scale only axis} by pgfplotsset{scale only axis,xmin=0,xmax=1} then these values will apply to all plots in this tikzpicture.

    – marmot
    19 hours ago











  • Both approaches managed to solve my problem. Thanks.

    – cheesus
    3 hours ago








2




2





You have to give, xmin, xmax, ymin and ymax to the second axis environment too. But I am not sure what you really want to do.

– koleygr
19 hours ago







You have to give, xmin, xmax, ymin and ymax to the second axis environment too. But I am not sure what you really want to do.

– koleygr
19 hours ago






1




1





If you replace pgfplotsset{scale only axis} by pgfplotsset{scale only axis,xmin=0,xmax=1} then these values will apply to all plots in this tikzpicture.

– marmot
19 hours ago





If you replace pgfplotsset{scale only axis} by pgfplotsset{scale only axis,xmin=0,xmax=1} then these values will apply to all plots in this tikzpicture.

– marmot
19 hours ago













Both approaches managed to solve my problem. Thanks.

– cheesus
3 hours ago





Both approaches managed to solve my problem. Thanks.

– cheesus
3 hours ago










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






cheesus is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f478053%2fends-of-plot-get-cut-off%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








cheesus is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















cheesus is a new contributor. Be nice, and check out our Code of Conduct.













cheesus is a new contributor. Be nice, and check out our Code of Conduct.












cheesus is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f478053%2fends-of-plot-get-cut-off%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...

Castillo d'Acher Características Menú de navegación