Number line with labels above and below the horizontal axisRotate a node but not its content: the case of the ellipse decorationHow to define macro for drawing axis labels in tikz picture?How to define the default vertical distance between nodes?Autocount and position labels around circular axisNumerical conditional within tikz keys?TikZ/ERD: node (=Entity) label on the insideLine up nested tikz enviroments or how to get rid of themHow to add label to bent arrow without manual adjustment?How to force all labels to stay on the same horizontal line in TikzHorizontal Probability Tree using Forest with Edge Labels

Where to refill my bottle in India?

How to make payment on the internet without leaving a money trail?

Need help identifying/translating a plaque in Tangier, Morocco

Are white and non-white police officers equally likely to kill black suspects?

Symmetry in quantum mechanics

Why airport relocation isn't done gradually?

How is it possible for user's password to be changed after storage was encrypted? (on OS X, Android)

Does the average primeness of natural numbers tend to zero?

Lied on resume at previous job

Is there a familial term for apples and pears?

How do I create uniquely male characters?

Was there ever an axiom rendered a theorem?

How can I add custom success page

How would photo IDs work for shapeshifters?

Unbreakable Formation vs. Cry of the Carnarium

How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?

Is this food a bread or a loaf?

Hosting Wordpress in a EC2 Load Balanced Instance

Copycat chess is back

Manga about a female worker who got dragged into another world together with this high school girl and she was just told she's not needed anymore

Why was the "bread communication" in the arena of Catching Fire left out in the movie?

LWC and complex parameters

What happens when a metallic dragon and a chromatic dragon mate?

Shall I use personal or official e-mail account when registering to external websites for work purpose?



Number line with labels above and below the horizontal axis


Rotate a node but not its content: the case of the ellipse decorationHow to define macro for drawing axis labels in tikz picture?How to define the default vertical distance between nodes?Autocount and position labels around circular axisNumerical conditional within tikz keys?TikZ/ERD: node (=Entity) label on the insideLine up nested tikz enviroments or how to get rid of themHow to add label to bent arrow without manual adjustment?How to force all labels to stay on the same horizontal line in TikzHorizontal Probability Tree using Forest with Edge Labels













0















I am trying to generate the number line shown below.



enter image description here



My MWE is below, the problem I have is that the size of the diagram is too small, and the tick labels are too congested.
I would like it about 15cm wide.



documentclassarticle
usepackagetikz
begindocument
begintikzpicture
% a straight line segment
draw [-latex](6,0) -- (10,0);

% the ticks and their labels
foreach pos in 1,...,4
draw[shift=(pos+5.781,0),] (0pt,2pt) -- (0pt,-1pt)
node[below,fill=white] thenumexprpos +5.781relax;

% the labels above the number line
node[inner sep=2pt,label=above:$A_2$] at (6.781,0) ;

% the log labels on the number line
node[inner sep=2pt,label=above:$log_2110$] at (6.781,-1.1) ;

endtikzpicture
enddocument


The output is below:



enter image description here










share|improve this question






















  • If you replace begintikzpicture by begintikzpicture[xscale=4.25], the line will be 15cm long, which is perhaps a bit too much. But you should be able to dial the xscale that produces a result you like. E.g. xscale=2.5 looks reasonable to me.

    – marmot
    35 mins ago
















0















I am trying to generate the number line shown below.



enter image description here



My MWE is below, the problem I have is that the size of the diagram is too small, and the tick labels are too congested.
I would like it about 15cm wide.



documentclassarticle
usepackagetikz
begindocument
begintikzpicture
% a straight line segment
draw [-latex](6,0) -- (10,0);

% the ticks and their labels
foreach pos in 1,...,4
draw[shift=(pos+5.781,0),] (0pt,2pt) -- (0pt,-1pt)
node[below,fill=white] thenumexprpos +5.781relax;

% the labels above the number line
node[inner sep=2pt,label=above:$A_2$] at (6.781,0) ;

% the log labels on the number line
node[inner sep=2pt,label=above:$log_2110$] at (6.781,-1.1) ;

endtikzpicture
enddocument


The output is below:



enter image description here










share|improve this question






















  • If you replace begintikzpicture by begintikzpicture[xscale=4.25], the line will be 15cm long, which is perhaps a bit too much. But you should be able to dial the xscale that produces a result you like. E.g. xscale=2.5 looks reasonable to me.

    – marmot
    35 mins ago














0












0








0








I am trying to generate the number line shown below.



enter image description here



My MWE is below, the problem I have is that the size of the diagram is too small, and the tick labels are too congested.
I would like it about 15cm wide.



documentclassarticle
usepackagetikz
begindocument
begintikzpicture
% a straight line segment
draw [-latex](6,0) -- (10,0);

% the ticks and their labels
foreach pos in 1,...,4
draw[shift=(pos+5.781,0),] (0pt,2pt) -- (0pt,-1pt)
node[below,fill=white] thenumexprpos +5.781relax;

% the labels above the number line
node[inner sep=2pt,label=above:$A_2$] at (6.781,0) ;

% the log labels on the number line
node[inner sep=2pt,label=above:$log_2110$] at (6.781,-1.1) ;

endtikzpicture
enddocument


The output is below:



enter image description here










share|improve this question














I am trying to generate the number line shown below.



enter image description here



My MWE is below, the problem I have is that the size of the diagram is too small, and the tick labels are too congested.
I would like it about 15cm wide.



documentclassarticle
usepackagetikz
begindocument
begintikzpicture
% a straight line segment
draw [-latex](6,0) -- (10,0);

% the ticks and their labels
foreach pos in 1,...,4
draw[shift=(pos+5.781,0),] (0pt,2pt) -- (0pt,-1pt)
node[below,fill=white] thenumexprpos +5.781relax;

% the labels above the number line
node[inner sep=2pt,label=above:$A_2$] at (6.781,0) ;

% the log labels on the number line
node[inner sep=2pt,label=above:$log_2110$] at (6.781,-1.1) ;

endtikzpicture
enddocument


The output is below:



enter image description here







tikz-pgf labels






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 43 mins ago









Anthony MacksAnthony Macks

1668




1668












  • If you replace begintikzpicture by begintikzpicture[xscale=4.25], the line will be 15cm long, which is perhaps a bit too much. But you should be able to dial the xscale that produces a result you like. E.g. xscale=2.5 looks reasonable to me.

    – marmot
    35 mins ago


















  • If you replace begintikzpicture by begintikzpicture[xscale=4.25], the line will be 15cm long, which is perhaps a bit too much. But you should be able to dial the xscale that produces a result you like. E.g. xscale=2.5 looks reasonable to me.

    – marmot
    35 mins ago

















If you replace begintikzpicture by begintikzpicture[xscale=4.25], the line will be 15cm long, which is perhaps a bit too much. But you should be able to dial the xscale that produces a result you like. E.g. xscale=2.5 looks reasonable to me.

– marmot
35 mins ago






If you replace begintikzpicture by begintikzpicture[xscale=4.25], the line will be 15cm long, which is perhaps a bit too much. But you should be able to dial the xscale that produces a result you like. E.g. xscale=2.5 looks reasonable to me.

– marmot
35 mins 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
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483886%2fnumber-line-with-labels-above-and-below-the-horizontal-axis%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















draft saved

draft discarded
















































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%2f483886%2fnumber-line-with-labels-above-and-below-the-horizontal-axis%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

How should I use the fbox command correctly to avoid producing a Bad Box message?How to put a long piece of text in a box?How to specify height and width of fboxIs there an arrayrulecolor-like command to change the rule color of fbox?What is the command to highlight bad boxes in pdf?Why does fbox sometimes place the box *over* the graphic image?how to put the text in the boxHow to create command for a box where text inside the box can automatically adjust?how can I make an fbox like command with certain color, shape and width of border?how to use fbox in align modeFbox increase the spacing between the box and it content (inner margin)how to change the box height of an equationWhat is the use of the hbox in a newcommand command?

152 Atala Notae | Nexus externi | Tabula navigationis"Discovery Circumstances: Numbered Minor Planets"2000152Small-Body Database

Doxepinum Nexus interni Notae | Tabula navigationis3158DB01142WHOa682390"Structural Analysis of the Histamine H1 Receptor""Transdermal and Topical Drug Administration in the Treatment of Pain""Antidepressants as antipruritic agents: A review"