Setting minor ticks with log scale axis PGFPlots Unicorn Meta Zoo #1: Why another podcast? ...
Why do games have consumables?
How do I prove this combinatorial identity
What to do with someone that cheated their way through university and a PhD program?
Was Dennis Ritchie being too modest in this quote about C and Pascal?
Why do distances seem to matter in the Foundation world?
What is this word supposed to be?
Why did C use the -> operator instead of reusing the . operator?
Double-nominative constructions and “von”
Implementing 3DES algorithm in Java: is my code secure?
Air bladders in bat-like skin wings for better lift?
Has a Nobel Peace laureate ever been accused of war crimes?
Protagonist's race is hidden - should I reveal it?
When do you need buffers/drivers on buses in a microprocessor design?
My admission is revoked after accepting the admission offer
Mistake in years of experience in resume?
How exactly does Hawking radiation decrease the mass of black holes?
I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?
Approximating integral with small parameter
Does Mathematica have an implementation of the Poisson binomial distribution?
Crossed out red box fitting tightly around image
Do I need to protect SFP ports and optics from dust/contaminants? If so, how?
How much of a wave function must reside inside event horizon for it to be consumed by the black hole?
Unable to completely uninstall Zoom meeting app
A faster way to compute the largest prime factor
Setting minor ticks with log scale axis PGFPlots
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manaraplotting two time series with boundsGrouped bar chartHow 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 graphDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingpgfplots log axis with only minor ticks/labelspgfplots: percentage in matrix plotCenter the axes in the coordinate origin
Consider this MWE:

documentclass[border=5mm]{standalone}
usepackage{tikz,pgfplots}
begin{document}
begin{tikzpicture}
begin{axis} [width=15cm,height=10cm,
xmode=log,
xmin=20, xmax=20000,
log ticks with fixed point,
xtick={20,50,100,200,500,1000,5000,10000,20000},
grid=both,
]
addplot [
domain=20:20000,
samples=100,
]
{x};
end{axis}
end{tikzpicture}
end{document}
I want x axis minor ticks to appear at
30,40,
60,70,80,90,
300,400,
600,700,800,900
2000,3000,4000,
How can I do this?
tikz-pgf pgfplots
New contributor
Mike is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Consider this MWE:

documentclass[border=5mm]{standalone}
usepackage{tikz,pgfplots}
begin{document}
begin{tikzpicture}
begin{axis} [width=15cm,height=10cm,
xmode=log,
xmin=20, xmax=20000,
log ticks with fixed point,
xtick={20,50,100,200,500,1000,5000,10000,20000},
grid=both,
]
addplot [
domain=20:20000,
samples=100,
]
{x};
end{axis}
end{tikzpicture}
end{document}
I want x axis minor ticks to appear at
30,40,
60,70,80,90,
300,400,
600,700,800,900
2000,3000,4000,
How can I do this?
tikz-pgf pgfplots
New contributor
Mike is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
You could addextra x ticks={30,40,60,70,80,90,300,400,600,700,800,900,2000,3000,4000}, extra tick style={grid=minor}to the axis options but that makes the ticks very crowded.
– marmot
2 mins ago
Thanks. I don't want grid lines for the minor ticks though, nor do I want labels for the minor ticks. I just want the little tick
– Mike
48 secs ago
add a comment |
Consider this MWE:

documentclass[border=5mm]{standalone}
usepackage{tikz,pgfplots}
begin{document}
begin{tikzpicture}
begin{axis} [width=15cm,height=10cm,
xmode=log,
xmin=20, xmax=20000,
log ticks with fixed point,
xtick={20,50,100,200,500,1000,5000,10000,20000},
grid=both,
]
addplot [
domain=20:20000,
samples=100,
]
{x};
end{axis}
end{tikzpicture}
end{document}
I want x axis minor ticks to appear at
30,40,
60,70,80,90,
300,400,
600,700,800,900
2000,3000,4000,
How can I do this?
tikz-pgf pgfplots
New contributor
Mike is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Consider this MWE:

documentclass[border=5mm]{standalone}
usepackage{tikz,pgfplots}
begin{document}
begin{tikzpicture}
begin{axis} [width=15cm,height=10cm,
xmode=log,
xmin=20, xmax=20000,
log ticks with fixed point,
xtick={20,50,100,200,500,1000,5000,10000,20000},
grid=both,
]
addplot [
domain=20:20000,
samples=100,
]
{x};
end{axis}
end{tikzpicture}
end{document}
I want x axis minor ticks to appear at
30,40,
60,70,80,90,
300,400,
600,700,800,900
2000,3000,4000,
How can I do this?
tikz-pgf pgfplots
tikz-pgf pgfplots
New contributor
Mike is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Mike is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Mike is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 11 mins ago
MikeMike
335
335
New contributor
Mike is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Mike is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Mike is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
You could addextra x ticks={30,40,60,70,80,90,300,400,600,700,800,900,2000,3000,4000}, extra tick style={grid=minor}to the axis options but that makes the ticks very crowded.
– marmot
2 mins ago
Thanks. I don't want grid lines for the minor ticks though, nor do I want labels for the minor ticks. I just want the little tick
– Mike
48 secs ago
add a comment |
You could addextra x ticks={30,40,60,70,80,90,300,400,600,700,800,900,2000,3000,4000}, extra tick style={grid=minor}to the axis options but that makes the ticks very crowded.
– marmot
2 mins ago
Thanks. I don't want grid lines for the minor ticks though, nor do I want labels for the minor ticks. I just want the little tick
– Mike
48 secs ago
You could add
extra x ticks={30,40,60,70,80,90,300,400,600,700,800,900,2000,3000,4000}, extra tick style={grid=minor} to the axis options but that makes the ticks very crowded.– marmot
2 mins ago
You could add
extra x ticks={30,40,60,70,80,90,300,400,600,700,800,900,2000,3000,4000}, extra tick style={grid=minor} to the axis options but that makes the ticks very crowded.– marmot
2 mins ago
Thanks. I don't want grid lines for the minor ticks though, nor do I want labels for the minor ticks. I just want the little tick
– Mike
48 secs ago
Thanks. I don't want grid lines for the minor ticks though, nor do I want labels for the minor ticks. I just want the little tick
– Mike
48 secs 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
});
}
});
Mike is a new contributor. Be nice, and check out our Code of Conduct.
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%2f487562%2fsetting-minor-ticks-with-log-scale-axis-pgfplots%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
Mike is a new contributor. Be nice, and check out our Code of Conduct.
Mike is a new contributor. Be nice, and check out our Code of Conduct.
Mike is a new contributor. Be nice, and check out our Code of Conduct.
Mike 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.
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%2f487562%2fsetting-minor-ticks-with-log-scale-axis-pgfplots%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
You could add
extra x ticks={30,40,60,70,80,90,300,400,600,700,800,900,2000,3000,4000}, extra tick style={grid=minor}to the axis options but that makes the ticks very crowded.– marmot
2 mins ago
Thanks. I don't want grid lines for the minor ticks though, nor do I want labels for the minor ticks. I just want the little tick
– Mike
48 secs ago