TikZ: Why is “dimension too large”?
The following TikZ code works fine
begin{tikzpicture}[scale=1.0, xscale=0.010, yscale=0.10]
draw[magenta,line width=1pt] plot coordinates {
(1,100.00) (2,99.29) (3,99.14) (4,98.65) (5,99.31)
(6,99.30) (7,99.70) (8,99.98) (9,98.88) (10,99.77)
(11,99.75) (12,99.88) (13,99.55) (14,100.15) (15,100.21)
...
(561,154.35) (562,154.60) (563,154.38) (564,156.64) (565,156.26)
(566,157.17) (567,157.78) (568,157.11) (569,154.20) (570,154.05)
(571,153.74) (572,154.54) (573,153.87) (574,154.95) (575,154.00)
};
end{tikzpicture}
The image is attached.
When I add one more line of data:
begin{tikzpicture}[scale=1.0, xscale=0.010, yscale=0.10]
draw[magenta,line width=1pt] plot coordinates {
(1,100.00) (2,99.29) (3,99.14) (4,98.65) (5,99.31)
(6,99.30) (7,99.70) (8,99.98) (9,98.88) (10,99.77)
(11,99.75) (12,99.88) (13,99.55) (14,100.15) (15,100.21)
...
(561,154.35) (562,154.60) (563,154.38) (564,156.64) (565,156.26)
(566,157.17) (567,157.78) (568,157.11) (569,154.20) (570,154.05)
(571,153.74) (572,154.54) (573,153.87) (574,154.95) (575,154.00)
(576,153.82) (577,154.67) (578,155.36) (579,155.63) (580,152.95)
};
end{tikzpicture}
I get the error message "Dimension too large".
There are 580 pairs of numbers here, 116 lines of numbers.
What dimension has become too large? How do I add more lines?

tikz-pgf
add a comment |
The following TikZ code works fine
begin{tikzpicture}[scale=1.0, xscale=0.010, yscale=0.10]
draw[magenta,line width=1pt] plot coordinates {
(1,100.00) (2,99.29) (3,99.14) (4,98.65) (5,99.31)
(6,99.30) (7,99.70) (8,99.98) (9,98.88) (10,99.77)
(11,99.75) (12,99.88) (13,99.55) (14,100.15) (15,100.21)
...
(561,154.35) (562,154.60) (563,154.38) (564,156.64) (565,156.26)
(566,157.17) (567,157.78) (568,157.11) (569,154.20) (570,154.05)
(571,153.74) (572,154.54) (573,153.87) (574,154.95) (575,154.00)
};
end{tikzpicture}
The image is attached.
When I add one more line of data:
begin{tikzpicture}[scale=1.0, xscale=0.010, yscale=0.10]
draw[magenta,line width=1pt] plot coordinates {
(1,100.00) (2,99.29) (3,99.14) (4,98.65) (5,99.31)
(6,99.30) (7,99.70) (8,99.98) (9,98.88) (10,99.77)
(11,99.75) (12,99.88) (13,99.55) (14,100.15) (15,100.21)
...
(561,154.35) (562,154.60) (563,154.38) (564,156.64) (565,156.26)
(566,157.17) (567,157.78) (568,157.11) (569,154.20) (570,154.05)
(571,153.74) (572,154.54) (573,153.87) (574,154.95) (575,154.00)
(576,153.82) (577,154.67) (578,155.36) (579,155.63) (580,152.95)
};
end{tikzpicture}
I get the error message "Dimension too large".
There are 580 pairs of numbers here, 116 lines of numbers.
What dimension has become too large? How do I add more lines?

tikz-pgf
3
580cm = 16502.5892pt > 16383.99999pt = maxdimen
– Henri Menke
4 hours ago
add a comment |
The following TikZ code works fine
begin{tikzpicture}[scale=1.0, xscale=0.010, yscale=0.10]
draw[magenta,line width=1pt] plot coordinates {
(1,100.00) (2,99.29) (3,99.14) (4,98.65) (5,99.31)
(6,99.30) (7,99.70) (8,99.98) (9,98.88) (10,99.77)
(11,99.75) (12,99.88) (13,99.55) (14,100.15) (15,100.21)
...
(561,154.35) (562,154.60) (563,154.38) (564,156.64) (565,156.26)
(566,157.17) (567,157.78) (568,157.11) (569,154.20) (570,154.05)
(571,153.74) (572,154.54) (573,153.87) (574,154.95) (575,154.00)
};
end{tikzpicture}
The image is attached.
When I add one more line of data:
begin{tikzpicture}[scale=1.0, xscale=0.010, yscale=0.10]
draw[magenta,line width=1pt] plot coordinates {
(1,100.00) (2,99.29) (3,99.14) (4,98.65) (5,99.31)
(6,99.30) (7,99.70) (8,99.98) (9,98.88) (10,99.77)
(11,99.75) (12,99.88) (13,99.55) (14,100.15) (15,100.21)
...
(561,154.35) (562,154.60) (563,154.38) (564,156.64) (565,156.26)
(566,157.17) (567,157.78) (568,157.11) (569,154.20) (570,154.05)
(571,153.74) (572,154.54) (573,153.87) (574,154.95) (575,154.00)
(576,153.82) (577,154.67) (578,155.36) (579,155.63) (580,152.95)
};
end{tikzpicture}
I get the error message "Dimension too large".
There are 580 pairs of numbers here, 116 lines of numbers.
What dimension has become too large? How do I add more lines?

tikz-pgf
The following TikZ code works fine
begin{tikzpicture}[scale=1.0, xscale=0.010, yscale=0.10]
draw[magenta,line width=1pt] plot coordinates {
(1,100.00) (2,99.29) (3,99.14) (4,98.65) (5,99.31)
(6,99.30) (7,99.70) (8,99.98) (9,98.88) (10,99.77)
(11,99.75) (12,99.88) (13,99.55) (14,100.15) (15,100.21)
...
(561,154.35) (562,154.60) (563,154.38) (564,156.64) (565,156.26)
(566,157.17) (567,157.78) (568,157.11) (569,154.20) (570,154.05)
(571,153.74) (572,154.54) (573,153.87) (574,154.95) (575,154.00)
};
end{tikzpicture}
The image is attached.
When I add one more line of data:
begin{tikzpicture}[scale=1.0, xscale=0.010, yscale=0.10]
draw[magenta,line width=1pt] plot coordinates {
(1,100.00) (2,99.29) (3,99.14) (4,98.65) (5,99.31)
(6,99.30) (7,99.70) (8,99.98) (9,98.88) (10,99.77)
(11,99.75) (12,99.88) (13,99.55) (14,100.15) (15,100.21)
...
(561,154.35) (562,154.60) (563,154.38) (564,156.64) (565,156.26)
(566,157.17) (567,157.78) (568,157.11) (569,154.20) (570,154.05)
(571,153.74) (572,154.54) (573,153.87) (574,154.95) (575,154.00)
(576,153.82) (577,154.67) (578,155.36) (579,155.63) (580,152.95)
};
end{tikzpicture}
I get the error message "Dimension too large".
There are 580 pairs of numbers here, 116 lines of numbers.
What dimension has become too large? How do I add more lines?

tikz-pgf
tikz-pgf
edited 5 hours ago
Phelype Oleinik
23.5k54586
23.5k54586
asked 5 hours ago
user3249581user3249581
283
283
3
580cm = 16502.5892pt > 16383.99999pt = maxdimen
– Henri Menke
4 hours ago
add a comment |
3
580cm = 16502.5892pt > 16383.99999pt = maxdimen
– Henri Menke
4 hours ago
3
3
580cm = 16502.5892pt > 16383.99999pt = maxdimen– Henri Menke
4 hours ago
580cm = 16502.5892pt > 16383.99999pt = maxdimen– Henri Menke
4 hours ago
add a comment |
1 Answer
1
active
oldest
votes
Use x=0.010cm, y=0.10cm instead of xscale=0.010, yscale=0.10. The scale is only applied after the coordinate has been transformed into pt already and that is where you exceed maxdimen.
documentclass{article}
usepackage{tikz}
begin{document}
begin{tikzpicture}[scale=1.0, x=0.010cm, y=0.10cm]
draw[magenta,line width=1pt] plot coordinates {
(1,100.00) (2,99.29) (3,99.14) (4,98.65) (5,99.31)
(6,99.30) (7,99.70) (8,99.98) (9,98.88) (10,99.77)
(11,99.75) (12,99.88) (13,99.55) (14,100.15) (15,100.21)
%...
(561,154.35) (562,154.60) (563,154.38) (564,156.64) (565,156.26)
(566,157.17) (567,157.78) (568,157.11) (569,154.20) (570,154.05)
(571,153.74) (572,154.54) (573,153.87) (574,154.95) (575,154.00)
(576,153.82) (577,154.67) (578,155.36) (579,155.63) (580,152.95)
};
end{tikzpicture}
end{document}
add a comment |
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%2f475556%2ftikz-why-is-dimension-too-large%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Use x=0.010cm, y=0.10cm instead of xscale=0.010, yscale=0.10. The scale is only applied after the coordinate has been transformed into pt already and that is where you exceed maxdimen.
documentclass{article}
usepackage{tikz}
begin{document}
begin{tikzpicture}[scale=1.0, x=0.010cm, y=0.10cm]
draw[magenta,line width=1pt] plot coordinates {
(1,100.00) (2,99.29) (3,99.14) (4,98.65) (5,99.31)
(6,99.30) (7,99.70) (8,99.98) (9,98.88) (10,99.77)
(11,99.75) (12,99.88) (13,99.55) (14,100.15) (15,100.21)
%...
(561,154.35) (562,154.60) (563,154.38) (564,156.64) (565,156.26)
(566,157.17) (567,157.78) (568,157.11) (569,154.20) (570,154.05)
(571,153.74) (572,154.54) (573,153.87) (574,154.95) (575,154.00)
(576,153.82) (577,154.67) (578,155.36) (579,155.63) (580,152.95)
};
end{tikzpicture}
end{document}
add a comment |
Use x=0.010cm, y=0.10cm instead of xscale=0.010, yscale=0.10. The scale is only applied after the coordinate has been transformed into pt already and that is where you exceed maxdimen.
documentclass{article}
usepackage{tikz}
begin{document}
begin{tikzpicture}[scale=1.0, x=0.010cm, y=0.10cm]
draw[magenta,line width=1pt] plot coordinates {
(1,100.00) (2,99.29) (3,99.14) (4,98.65) (5,99.31)
(6,99.30) (7,99.70) (8,99.98) (9,98.88) (10,99.77)
(11,99.75) (12,99.88) (13,99.55) (14,100.15) (15,100.21)
%...
(561,154.35) (562,154.60) (563,154.38) (564,156.64) (565,156.26)
(566,157.17) (567,157.78) (568,157.11) (569,154.20) (570,154.05)
(571,153.74) (572,154.54) (573,153.87) (574,154.95) (575,154.00)
(576,153.82) (577,154.67) (578,155.36) (579,155.63) (580,152.95)
};
end{tikzpicture}
end{document}
add a comment |
Use x=0.010cm, y=0.10cm instead of xscale=0.010, yscale=0.10. The scale is only applied after the coordinate has been transformed into pt already and that is where you exceed maxdimen.
documentclass{article}
usepackage{tikz}
begin{document}
begin{tikzpicture}[scale=1.0, x=0.010cm, y=0.10cm]
draw[magenta,line width=1pt] plot coordinates {
(1,100.00) (2,99.29) (3,99.14) (4,98.65) (5,99.31)
(6,99.30) (7,99.70) (8,99.98) (9,98.88) (10,99.77)
(11,99.75) (12,99.88) (13,99.55) (14,100.15) (15,100.21)
%...
(561,154.35) (562,154.60) (563,154.38) (564,156.64) (565,156.26)
(566,157.17) (567,157.78) (568,157.11) (569,154.20) (570,154.05)
(571,153.74) (572,154.54) (573,153.87) (574,154.95) (575,154.00)
(576,153.82) (577,154.67) (578,155.36) (579,155.63) (580,152.95)
};
end{tikzpicture}
end{document}
Use x=0.010cm, y=0.10cm instead of xscale=0.010, yscale=0.10. The scale is only applied after the coordinate has been transformed into pt already and that is where you exceed maxdimen.
documentclass{article}
usepackage{tikz}
begin{document}
begin{tikzpicture}[scale=1.0, x=0.010cm, y=0.10cm]
draw[magenta,line width=1pt] plot coordinates {
(1,100.00) (2,99.29) (3,99.14) (4,98.65) (5,99.31)
(6,99.30) (7,99.70) (8,99.98) (9,98.88) (10,99.77)
(11,99.75) (12,99.88) (13,99.55) (14,100.15) (15,100.21)
%...
(561,154.35) (562,154.60) (563,154.38) (564,156.64) (565,156.26)
(566,157.17) (567,157.78) (568,157.11) (569,154.20) (570,154.05)
(571,153.74) (572,154.54) (573,153.87) (574,154.95) (575,154.00)
(576,153.82) (577,154.67) (578,155.36) (579,155.63) (580,152.95)
};
end{tikzpicture}
end{document}
answered 4 hours ago
Henri MenkeHenri Menke
74.8k8164276
74.8k8164276
add a comment |
add a comment |
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%2f475556%2ftikz-why-is-dimension-too-large%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
3
580cm = 16502.5892pt > 16383.99999pt = maxdimen– Henri Menke
4 hours ago