Drawing numerical ray
Maybe i am seearching wrong but I couldn't find way to draw this ray with vertical lines. How?
tikz-pgf
add a comment |
Maybe i am seearching wrong but I couldn't find way to draw this ray with vertical lines. How?
tikz-pgf
3
Number line is probably the word you had been looking for.
– Johannes_B
Dec 24 at 5:35
add a comment |
Maybe i am seearching wrong but I couldn't find way to draw this ray with vertical lines. How?
tikz-pgf
Maybe i am seearching wrong but I couldn't find way to draw this ray with vertical lines. How?
tikz-pgf
tikz-pgf
asked Dec 24 at 3:23
Simeon Simeonov
1916
1916
3
Number line is probably the word you had been looking for.
– Johannes_B
Dec 24 at 5:35
add a comment |
3
Number line is probably the word you had been looking for.
– Johannes_B
Dec 24 at 5:35
3
3
Number line is probably the word you had been looking for.
– Johannes_B
Dec 24 at 5:35
Number line is probably the word you had been looking for.
– Johannes_B
Dec 24 at 5:35
add a comment |
4 Answers
4
active
oldest
votes
There are many possibilities to draw this, here is one.
documentclass[tikz,border=3.14mm]{standalone}
begin{document}
begin{tikzpicture}
draw (0,0) -- (14,0);
foreach X in {0,...,13}
{draw (X,0.1) -- (X,-0.1);}
foreach X in {0,4,10,12}
{node[anchor=north] at (X,-0.1){X};}
end{tikzpicture}
end{document}
Something that allows you to add numbers with commas as decimal separators is
documentclass[tikz,border=3.14mm]{standalone}
begin{document}
begin{tikzpicture}
draw (0,0) -- (14,0);
foreach X in {0,...,13}
{draw (X,0.1) -- (X,-0.1);}
foreach X in {0,2.6,4,6.7,10,12}
{draw (X,0.1) -- (X,-0.1)
node[below] {pgfmathprintnumber[use comma]{X}};}
end{tikzpicture}
end{document}
If you want to have denser ticks, try e.g.
documentclass[tikz,border=3.14mm]{standalone}
begin{document}
begin{tikzpicture}
draw (0,0) -- (14,0);
foreach X [evaluate=X as Y using {int(10*(X-int(X)))}] in {0,0.1,...,13}
{ifnumY=0
draw (X,0.15) -- (X,-0.15);
else
draw (X,0.1) -- (X,-0.1);
fi}
foreach[evaluate=X as Y using {int(10*(X-int(X)))}] X in {0,2.6,4,6.7,10,12}
{ifnumY=0
node[anchor=north] at (X,-0.15){pgfmathprintnumber[use comma]{X}};
else
node[anchor=north] at (X,-0.1){pgfmathprintnumber[use comma]{X}};
fi
}
end{tikzpicture}
end{document}
Of course, it is also possible to add the ticks with non-integer values above the ray.
documentclass[tikz,border=3.14mm]{standalone}
begin{document}
begin{tikzpicture}
draw (0,0) -- (14,0);
foreach X [evaluate=X as Y using {int(10*(X-int(X)))}] in {0,0.1,...,13}
{ifnumY=0
draw (X,0.15) -- (X,-0.15);
else
draw (X,0.1) -- (X,-0.1);
fi}
foreach[evaluate=X as Y using {int(10*(X-int(X)))}] X in {0,2.6,4,6.7,10,12}
{ifnumY=0
node[anchor=north] at (X,-0.15){pgfmathprintnumber[use comma]{X}};
else
node[anchor=south] at (X,0.1){pgfmathprintnumber[use comma]{X}};
fi
}
end{tikzpicture}
end{document}
I am trying to change the parameters in foreach with floating numbers but it's a mess. Is there a solution?
– Simeon Simeonov
2 days ago
1
@SimeonSimeonov Can you please tell me what you tried precisely? (I am very confident that there will be a solution.)
– marmot
2 days ago
I need to draw this: imgur.com/a/d3w9Q9i The size number can be the same. Hope you can read it.
– Simeon Simeonov
2 days ago
@SimeonSimeonov I added two more examples.
– marmot
2 days ago
Here what happens. imgur.com/a/0SvfMTw Is there any way to make the numbers with floating point over the ray?
– Simeon Simeonov
2 days ago
|
show 1 more comment
With simple LaTeX commands:
documentclass{article}
begin{document}
unitlength=1cm
begin{picture}(14,0.5)(0,-0.5)
put(0,0){vector(1,0){14}}multiput(0,-0.1)(1,0){14}{line(0,1){0.2}}
put(0,-0.5){0}put(4,-0.5){4}put(10,-0.5){10}put(12,-0.5){12}
end{picture}
end{document}
add a comment |
documentclass[pstricks,border=15pt,12pt]{standalone}
usepackage{pst-plot}
begin{document}
begin{pspicture}(-1,-1)(15,1)
psaxes[yAxis=false](0,0)(-1,-1)(15,1)
end{pspicture}
end{document}
The zero is intentionally left hidden for the sake of simplicity.
add a comment |
documentclass[12pt,pstricks,border=5pt]{standalone}
usepackage{pst-plot,amsmath}
begin{document}
begin{pspicture}(-0.25,-0.5)(14,0.25)
psaxes[yAxis=false,labels=none,arrows=->](14,0)
foreach X in {0,4,10,12}{uput{8pt}[-90](X,0){$X$}}
end{pspicture}
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%2f467133%2fdrawing-numerical-ray%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
There are many possibilities to draw this, here is one.
documentclass[tikz,border=3.14mm]{standalone}
begin{document}
begin{tikzpicture}
draw (0,0) -- (14,0);
foreach X in {0,...,13}
{draw (X,0.1) -- (X,-0.1);}
foreach X in {0,4,10,12}
{node[anchor=north] at (X,-0.1){X};}
end{tikzpicture}
end{document}
Something that allows you to add numbers with commas as decimal separators is
documentclass[tikz,border=3.14mm]{standalone}
begin{document}
begin{tikzpicture}
draw (0,0) -- (14,0);
foreach X in {0,...,13}
{draw (X,0.1) -- (X,-0.1);}
foreach X in {0,2.6,4,6.7,10,12}
{draw (X,0.1) -- (X,-0.1)
node[below] {pgfmathprintnumber[use comma]{X}};}
end{tikzpicture}
end{document}
If you want to have denser ticks, try e.g.
documentclass[tikz,border=3.14mm]{standalone}
begin{document}
begin{tikzpicture}
draw (0,0) -- (14,0);
foreach X [evaluate=X as Y using {int(10*(X-int(X)))}] in {0,0.1,...,13}
{ifnumY=0
draw (X,0.15) -- (X,-0.15);
else
draw (X,0.1) -- (X,-0.1);
fi}
foreach[evaluate=X as Y using {int(10*(X-int(X)))}] X in {0,2.6,4,6.7,10,12}
{ifnumY=0
node[anchor=north] at (X,-0.15){pgfmathprintnumber[use comma]{X}};
else
node[anchor=north] at (X,-0.1){pgfmathprintnumber[use comma]{X}};
fi
}
end{tikzpicture}
end{document}
Of course, it is also possible to add the ticks with non-integer values above the ray.
documentclass[tikz,border=3.14mm]{standalone}
begin{document}
begin{tikzpicture}
draw (0,0) -- (14,0);
foreach X [evaluate=X as Y using {int(10*(X-int(X)))}] in {0,0.1,...,13}
{ifnumY=0
draw (X,0.15) -- (X,-0.15);
else
draw (X,0.1) -- (X,-0.1);
fi}
foreach[evaluate=X as Y using {int(10*(X-int(X)))}] X in {0,2.6,4,6.7,10,12}
{ifnumY=0
node[anchor=north] at (X,-0.15){pgfmathprintnumber[use comma]{X}};
else
node[anchor=south] at (X,0.1){pgfmathprintnumber[use comma]{X}};
fi
}
end{tikzpicture}
end{document}
I am trying to change the parameters in foreach with floating numbers but it's a mess. Is there a solution?
– Simeon Simeonov
2 days ago
1
@SimeonSimeonov Can you please tell me what you tried precisely? (I am very confident that there will be a solution.)
– marmot
2 days ago
I need to draw this: imgur.com/a/d3w9Q9i The size number can be the same. Hope you can read it.
– Simeon Simeonov
2 days ago
@SimeonSimeonov I added two more examples.
– marmot
2 days ago
Here what happens. imgur.com/a/0SvfMTw Is there any way to make the numbers with floating point over the ray?
– Simeon Simeonov
2 days ago
|
show 1 more comment
There are many possibilities to draw this, here is one.
documentclass[tikz,border=3.14mm]{standalone}
begin{document}
begin{tikzpicture}
draw (0,0) -- (14,0);
foreach X in {0,...,13}
{draw (X,0.1) -- (X,-0.1);}
foreach X in {0,4,10,12}
{node[anchor=north] at (X,-0.1){X};}
end{tikzpicture}
end{document}
Something that allows you to add numbers with commas as decimal separators is
documentclass[tikz,border=3.14mm]{standalone}
begin{document}
begin{tikzpicture}
draw (0,0) -- (14,0);
foreach X in {0,...,13}
{draw (X,0.1) -- (X,-0.1);}
foreach X in {0,2.6,4,6.7,10,12}
{draw (X,0.1) -- (X,-0.1)
node[below] {pgfmathprintnumber[use comma]{X}};}
end{tikzpicture}
end{document}
If you want to have denser ticks, try e.g.
documentclass[tikz,border=3.14mm]{standalone}
begin{document}
begin{tikzpicture}
draw (0,0) -- (14,0);
foreach X [evaluate=X as Y using {int(10*(X-int(X)))}] in {0,0.1,...,13}
{ifnumY=0
draw (X,0.15) -- (X,-0.15);
else
draw (X,0.1) -- (X,-0.1);
fi}
foreach[evaluate=X as Y using {int(10*(X-int(X)))}] X in {0,2.6,4,6.7,10,12}
{ifnumY=0
node[anchor=north] at (X,-0.15){pgfmathprintnumber[use comma]{X}};
else
node[anchor=north] at (X,-0.1){pgfmathprintnumber[use comma]{X}};
fi
}
end{tikzpicture}
end{document}
Of course, it is also possible to add the ticks with non-integer values above the ray.
documentclass[tikz,border=3.14mm]{standalone}
begin{document}
begin{tikzpicture}
draw (0,0) -- (14,0);
foreach X [evaluate=X as Y using {int(10*(X-int(X)))}] in {0,0.1,...,13}
{ifnumY=0
draw (X,0.15) -- (X,-0.15);
else
draw (X,0.1) -- (X,-0.1);
fi}
foreach[evaluate=X as Y using {int(10*(X-int(X)))}] X in {0,2.6,4,6.7,10,12}
{ifnumY=0
node[anchor=north] at (X,-0.15){pgfmathprintnumber[use comma]{X}};
else
node[anchor=south] at (X,0.1){pgfmathprintnumber[use comma]{X}};
fi
}
end{tikzpicture}
end{document}
I am trying to change the parameters in foreach with floating numbers but it's a mess. Is there a solution?
– Simeon Simeonov
2 days ago
1
@SimeonSimeonov Can you please tell me what you tried precisely? (I am very confident that there will be a solution.)
– marmot
2 days ago
I need to draw this: imgur.com/a/d3w9Q9i The size number can be the same. Hope you can read it.
– Simeon Simeonov
2 days ago
@SimeonSimeonov I added two more examples.
– marmot
2 days ago
Here what happens. imgur.com/a/0SvfMTw Is there any way to make the numbers with floating point over the ray?
– Simeon Simeonov
2 days ago
|
show 1 more comment
There are many possibilities to draw this, here is one.
documentclass[tikz,border=3.14mm]{standalone}
begin{document}
begin{tikzpicture}
draw (0,0) -- (14,0);
foreach X in {0,...,13}
{draw (X,0.1) -- (X,-0.1);}
foreach X in {0,4,10,12}
{node[anchor=north] at (X,-0.1){X};}
end{tikzpicture}
end{document}
Something that allows you to add numbers with commas as decimal separators is
documentclass[tikz,border=3.14mm]{standalone}
begin{document}
begin{tikzpicture}
draw (0,0) -- (14,0);
foreach X in {0,...,13}
{draw (X,0.1) -- (X,-0.1);}
foreach X in {0,2.6,4,6.7,10,12}
{draw (X,0.1) -- (X,-0.1)
node[below] {pgfmathprintnumber[use comma]{X}};}
end{tikzpicture}
end{document}
If you want to have denser ticks, try e.g.
documentclass[tikz,border=3.14mm]{standalone}
begin{document}
begin{tikzpicture}
draw (0,0) -- (14,0);
foreach X [evaluate=X as Y using {int(10*(X-int(X)))}] in {0,0.1,...,13}
{ifnumY=0
draw (X,0.15) -- (X,-0.15);
else
draw (X,0.1) -- (X,-0.1);
fi}
foreach[evaluate=X as Y using {int(10*(X-int(X)))}] X in {0,2.6,4,6.7,10,12}
{ifnumY=0
node[anchor=north] at (X,-0.15){pgfmathprintnumber[use comma]{X}};
else
node[anchor=north] at (X,-0.1){pgfmathprintnumber[use comma]{X}};
fi
}
end{tikzpicture}
end{document}
Of course, it is also possible to add the ticks with non-integer values above the ray.
documentclass[tikz,border=3.14mm]{standalone}
begin{document}
begin{tikzpicture}
draw (0,0) -- (14,0);
foreach X [evaluate=X as Y using {int(10*(X-int(X)))}] in {0,0.1,...,13}
{ifnumY=0
draw (X,0.15) -- (X,-0.15);
else
draw (X,0.1) -- (X,-0.1);
fi}
foreach[evaluate=X as Y using {int(10*(X-int(X)))}] X in {0,2.6,4,6.7,10,12}
{ifnumY=0
node[anchor=north] at (X,-0.15){pgfmathprintnumber[use comma]{X}};
else
node[anchor=south] at (X,0.1){pgfmathprintnumber[use comma]{X}};
fi
}
end{tikzpicture}
end{document}
There are many possibilities to draw this, here is one.
documentclass[tikz,border=3.14mm]{standalone}
begin{document}
begin{tikzpicture}
draw (0,0) -- (14,0);
foreach X in {0,...,13}
{draw (X,0.1) -- (X,-0.1);}
foreach X in {0,4,10,12}
{node[anchor=north] at (X,-0.1){X};}
end{tikzpicture}
end{document}
Something that allows you to add numbers with commas as decimal separators is
documentclass[tikz,border=3.14mm]{standalone}
begin{document}
begin{tikzpicture}
draw (0,0) -- (14,0);
foreach X in {0,...,13}
{draw (X,0.1) -- (X,-0.1);}
foreach X in {0,2.6,4,6.7,10,12}
{draw (X,0.1) -- (X,-0.1)
node[below] {pgfmathprintnumber[use comma]{X}};}
end{tikzpicture}
end{document}
If you want to have denser ticks, try e.g.
documentclass[tikz,border=3.14mm]{standalone}
begin{document}
begin{tikzpicture}
draw (0,0) -- (14,0);
foreach X [evaluate=X as Y using {int(10*(X-int(X)))}] in {0,0.1,...,13}
{ifnumY=0
draw (X,0.15) -- (X,-0.15);
else
draw (X,0.1) -- (X,-0.1);
fi}
foreach[evaluate=X as Y using {int(10*(X-int(X)))}] X in {0,2.6,4,6.7,10,12}
{ifnumY=0
node[anchor=north] at (X,-0.15){pgfmathprintnumber[use comma]{X}};
else
node[anchor=north] at (X,-0.1){pgfmathprintnumber[use comma]{X}};
fi
}
end{tikzpicture}
end{document}
Of course, it is also possible to add the ticks with non-integer values above the ray.
documentclass[tikz,border=3.14mm]{standalone}
begin{document}
begin{tikzpicture}
draw (0,0) -- (14,0);
foreach X [evaluate=X as Y using {int(10*(X-int(X)))}] in {0,0.1,...,13}
{ifnumY=0
draw (X,0.15) -- (X,-0.15);
else
draw (X,0.1) -- (X,-0.1);
fi}
foreach[evaluate=X as Y using {int(10*(X-int(X)))}] X in {0,2.6,4,6.7,10,12}
{ifnumY=0
node[anchor=north] at (X,-0.15){pgfmathprintnumber[use comma]{X}};
else
node[anchor=south] at (X,0.1){pgfmathprintnumber[use comma]{X}};
fi
}
end{tikzpicture}
end{document}
edited 2 days ago
answered Dec 24 at 3:40
marmot
86.1k499183
86.1k499183
I am trying to change the parameters in foreach with floating numbers but it's a mess. Is there a solution?
– Simeon Simeonov
2 days ago
1
@SimeonSimeonov Can you please tell me what you tried precisely? (I am very confident that there will be a solution.)
– marmot
2 days ago
I need to draw this: imgur.com/a/d3w9Q9i The size number can be the same. Hope you can read it.
– Simeon Simeonov
2 days ago
@SimeonSimeonov I added two more examples.
– marmot
2 days ago
Here what happens. imgur.com/a/0SvfMTw Is there any way to make the numbers with floating point over the ray?
– Simeon Simeonov
2 days ago
|
show 1 more comment
I am trying to change the parameters in foreach with floating numbers but it's a mess. Is there a solution?
– Simeon Simeonov
2 days ago
1
@SimeonSimeonov Can you please tell me what you tried precisely? (I am very confident that there will be a solution.)
– marmot
2 days ago
I need to draw this: imgur.com/a/d3w9Q9i The size number can be the same. Hope you can read it.
– Simeon Simeonov
2 days ago
@SimeonSimeonov I added two more examples.
– marmot
2 days ago
Here what happens. imgur.com/a/0SvfMTw Is there any way to make the numbers with floating point over the ray?
– Simeon Simeonov
2 days ago
I am trying to change the parameters in foreach with floating numbers but it's a mess. Is there a solution?
– Simeon Simeonov
2 days ago
I am trying to change the parameters in foreach with floating numbers but it's a mess. Is there a solution?
– Simeon Simeonov
2 days ago
1
1
@SimeonSimeonov Can you please tell me what you tried precisely? (I am very confident that there will be a solution.)
– marmot
2 days ago
@SimeonSimeonov Can you please tell me what you tried precisely? (I am very confident that there will be a solution.)
– marmot
2 days ago
I need to draw this: imgur.com/a/d3w9Q9i The size number can be the same. Hope you can read it.
– Simeon Simeonov
2 days ago
I need to draw this: imgur.com/a/d3w9Q9i The size number can be the same. Hope you can read it.
– Simeon Simeonov
2 days ago
@SimeonSimeonov I added two more examples.
– marmot
2 days ago
@SimeonSimeonov I added two more examples.
– marmot
2 days ago
Here what happens. imgur.com/a/0SvfMTw Is there any way to make the numbers with floating point over the ray?
– Simeon Simeonov
2 days ago
Here what happens. imgur.com/a/0SvfMTw Is there any way to make the numbers with floating point over the ray?
– Simeon Simeonov
2 days ago
|
show 1 more comment
With simple LaTeX commands:
documentclass{article}
begin{document}
unitlength=1cm
begin{picture}(14,0.5)(0,-0.5)
put(0,0){vector(1,0){14}}multiput(0,-0.1)(1,0){14}{line(0,1){0.2}}
put(0,-0.5){0}put(4,-0.5){4}put(10,-0.5){10}put(12,-0.5){12}
end{picture}
end{document}
add a comment |
With simple LaTeX commands:
documentclass{article}
begin{document}
unitlength=1cm
begin{picture}(14,0.5)(0,-0.5)
put(0,0){vector(1,0){14}}multiput(0,-0.1)(1,0){14}{line(0,1){0.2}}
put(0,-0.5){0}put(4,-0.5){4}put(10,-0.5){10}put(12,-0.5){12}
end{picture}
end{document}
add a comment |
With simple LaTeX commands:
documentclass{article}
begin{document}
unitlength=1cm
begin{picture}(14,0.5)(0,-0.5)
put(0,0){vector(1,0){14}}multiput(0,-0.1)(1,0){14}{line(0,1){0.2}}
put(0,-0.5){0}put(4,-0.5){4}put(10,-0.5){10}put(12,-0.5){12}
end{picture}
end{document}
With simple LaTeX commands:
documentclass{article}
begin{document}
unitlength=1cm
begin{picture}(14,0.5)(0,-0.5)
put(0,0){vector(1,0){14}}multiput(0,-0.1)(1,0){14}{line(0,1){0.2}}
put(0,-0.5){0}put(4,-0.5){4}put(10,-0.5){10}put(12,-0.5){12}
end{picture}
end{document}
answered 2 days ago
Herbert
269k24407717
269k24407717
add a comment |
add a comment |
documentclass[pstricks,border=15pt,12pt]{standalone}
usepackage{pst-plot}
begin{document}
begin{pspicture}(-1,-1)(15,1)
psaxes[yAxis=false](0,0)(-1,-1)(15,1)
end{pspicture}
end{document}
The zero is intentionally left hidden for the sake of simplicity.
add a comment |
documentclass[pstricks,border=15pt,12pt]{standalone}
usepackage{pst-plot}
begin{document}
begin{pspicture}(-1,-1)(15,1)
psaxes[yAxis=false](0,0)(-1,-1)(15,1)
end{pspicture}
end{document}
The zero is intentionally left hidden for the sake of simplicity.
add a comment |
documentclass[pstricks,border=15pt,12pt]{standalone}
usepackage{pst-plot}
begin{document}
begin{pspicture}(-1,-1)(15,1)
psaxes[yAxis=false](0,0)(-1,-1)(15,1)
end{pspicture}
end{document}
The zero is intentionally left hidden for the sake of simplicity.
documentclass[pstricks,border=15pt,12pt]{standalone}
usepackage{pst-plot}
begin{document}
begin{pspicture}(-1,-1)(15,1)
psaxes[yAxis=false](0,0)(-1,-1)(15,1)
end{pspicture}
end{document}
The zero is intentionally left hidden for the sake of simplicity.
answered 2 days ago
God Must Be Crazy
5,47011039
5,47011039
add a comment |
add a comment |
documentclass[12pt,pstricks,border=5pt]{standalone}
usepackage{pst-plot,amsmath}
begin{document}
begin{pspicture}(-0.25,-0.5)(14,0.25)
psaxes[yAxis=false,labels=none,arrows=->](14,0)
foreach X in {0,4,10,12}{uput{8pt}[-90](X,0){$X$}}
end{pspicture}
end{document}
add a comment |
documentclass[12pt,pstricks,border=5pt]{standalone}
usepackage{pst-plot,amsmath}
begin{document}
begin{pspicture}(-0.25,-0.5)(14,0.25)
psaxes[yAxis=false,labels=none,arrows=->](14,0)
foreach X in {0,4,10,12}{uput{8pt}[-90](X,0){$X$}}
end{pspicture}
end{document}
add a comment |
documentclass[12pt,pstricks,border=5pt]{standalone}
usepackage{pst-plot,amsmath}
begin{document}
begin{pspicture}(-0.25,-0.5)(14,0.25)
psaxes[yAxis=false,labels=none,arrows=->](14,0)
foreach X in {0,4,10,12}{uput{8pt}[-90](X,0){$X$}}
end{pspicture}
end{document}
documentclass[12pt,pstricks,border=5pt]{standalone}
usepackage{pst-plot,amsmath}
begin{document}
begin{pspicture}(-0.25,-0.5)(14,0.25)
psaxes[yAxis=false,labels=none,arrows=->](14,0)
foreach X in {0,4,10,12}{uput{8pt}[-90](X,0){$X$}}
end{pspicture}
end{document}
answered 2 days ago
chishimotoji
727215
727215
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f467133%2fdrawing-numerical-ray%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
Number line is probably the word you had been looking for.
– Johannes_B
Dec 24 at 5:35