Placing pgfplots in one tikzpicturePGFplot to occupy full linewidth, and aligned y=axis across...
Can an x86 CPU running in real mode be considered to be basically an 8086 CPU?
whey we use polarized capacitor?
Copycat chess is back
How to type dʒ symbol (IPA) on Mac?
Why Is Death Allowed In the Matrix?
What are these boxed doors outside store fronts in New York?
What would the Romans have called "sorcery"?
black dwarf stars and dark matter
Schwarzchild Radius of the Universe
Motorized valve interfering with button?
"You are your self first supporter", a more proper way to say it
TGV timetables / schedules?
I probably found a bug with the sudo apt install function
Why is an old chain unsafe?
Can I interfere when another PC is about to be attacked?
If Manufacturer spice model and Datasheet give different values which should I use?
I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine
The magic money tree problem
DOS, create pipe for stdin/stdout of command.com(or 4dos.com) in C or Batch?
Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?
A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?
The use of multiple foreign keys on same column in SQL Server
Why are 150k or 200k jobs considered good when there are 300k+ births a month?
Japan - Plan around max visa duration
Placing pgfplots in one tikzpicture
PGFplot to occupy full linewidth, and aligned y=axis across tikzpictureGrouped bar chartHow do i get the x axis on top but keep a line on the bottomLocation and size of pgf plot axis in a tikzpicture - with tikz positioning library?How 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 originAbsolute placement of pgfplots axis in tikzpicture wrt. current page anchor
I seem to be unable to modify the answer of this solution to align different plots in one tikzpicture. In my head, east should place the second axis to the right of the first axis. But they end up on top of each other.
Here is the minimal working example:
documentclass[11pt, a4paper]{book}
usepackage{tikz, pgfplots}
pgfplotsset{compat=1.16}
begin{document}
begin{tikzpicture}[scale=0.8]
begin{axis}[
name=first,
title=Weights after 30 steps,
]
end{axis}
begin{loglogaxis}[
at=(first.right of east),
anchor=outer east,
title=Weights after 30 steps (loglog),
]
end{loglogaxis}
end{tikzpicture}
end{document}
And here is what I am generally trying to achieve in the end:
But here the alignment does not work and that is how I found the suggestion, to place the axis in the same tikzpicture to avoid that. So other approaches to this problem would also be appreciated. (And if you have suggestions on how to remove that one scientific tic in the first plot, and how to move the labels such that they don't take as much space of the page, that would be great - but I should probably try to find a solution to that myself first)
tikz-pgf pgfplots
add a comment |
I seem to be unable to modify the answer of this solution to align different plots in one tikzpicture. In my head, east should place the second axis to the right of the first axis. But they end up on top of each other.
Here is the minimal working example:
documentclass[11pt, a4paper]{book}
usepackage{tikz, pgfplots}
pgfplotsset{compat=1.16}
begin{document}
begin{tikzpicture}[scale=0.8]
begin{axis}[
name=first,
title=Weights after 30 steps,
]
end{axis}
begin{loglogaxis}[
at=(first.right of east),
anchor=outer east,
title=Weights after 30 steps (loglog),
]
end{loglogaxis}
end{tikzpicture}
end{document}
And here is what I am generally trying to achieve in the end:
But here the alignment does not work and that is how I found the suggestion, to place the axis in the same tikzpicture to avoid that. So other approaches to this problem would also be appreciated. (And if you have suggestions on how to remove that one scientific tic in the first plot, and how to move the labels such that they don't take as much space of the page, that would be great - but I should probably try to find a solution to that myself first)
tikz-pgf pgfplots
4
There exists the pgfplots librarygroupplots
specifically for that.
– marmot
11 hours ago
add a comment |
I seem to be unable to modify the answer of this solution to align different plots in one tikzpicture. In my head, east should place the second axis to the right of the first axis. But they end up on top of each other.
Here is the minimal working example:
documentclass[11pt, a4paper]{book}
usepackage{tikz, pgfplots}
pgfplotsset{compat=1.16}
begin{document}
begin{tikzpicture}[scale=0.8]
begin{axis}[
name=first,
title=Weights after 30 steps,
]
end{axis}
begin{loglogaxis}[
at=(first.right of east),
anchor=outer east,
title=Weights after 30 steps (loglog),
]
end{loglogaxis}
end{tikzpicture}
end{document}
And here is what I am generally trying to achieve in the end:
But here the alignment does not work and that is how I found the suggestion, to place the axis in the same tikzpicture to avoid that. So other approaches to this problem would also be appreciated. (And if you have suggestions on how to remove that one scientific tic in the first plot, and how to move the labels such that they don't take as much space of the page, that would be great - but I should probably try to find a solution to that myself first)
tikz-pgf pgfplots
I seem to be unable to modify the answer of this solution to align different plots in one tikzpicture. In my head, east should place the second axis to the right of the first axis. But they end up on top of each other.
Here is the minimal working example:
documentclass[11pt, a4paper]{book}
usepackage{tikz, pgfplots}
pgfplotsset{compat=1.16}
begin{document}
begin{tikzpicture}[scale=0.8]
begin{axis}[
name=first,
title=Weights after 30 steps,
]
end{axis}
begin{loglogaxis}[
at=(first.right of east),
anchor=outer east,
title=Weights after 30 steps (loglog),
]
end{loglogaxis}
end{tikzpicture}
end{document}
And here is what I am generally trying to achieve in the end:
But here the alignment does not work and that is how I found the suggestion, to place the axis in the same tikzpicture to avoid that. So other approaches to this problem would also be appreciated. (And if you have suggestions on how to remove that one scientific tic in the first plot, and how to move the labels such that they don't take as much space of the page, that would be great - but I should probably try to find a solution to that myself first)
tikz-pgf pgfplots
tikz-pgf pgfplots
asked 12 hours ago
Felix B.Felix B.
1949
1949
4
There exists the pgfplots librarygroupplots
specifically for that.
– marmot
11 hours ago
add a comment |
4
There exists the pgfplots librarygroupplots
specifically for that.
– marmot
11 hours ago
4
4
There exists the pgfplots library
groupplots
specifically for that.– marmot
11 hours ago
There exists the pgfplots library
groupplots
specifically for that.– marmot
11 hours ago
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483672%2fplacing-pgfplots-in-one-tikzpicture%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
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483672%2fplacing-pgfplots-in-one-tikzpicture%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
4
There exists the pgfplots library
groupplots
specifically for that.– marmot
11 hours ago