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
I am trying to generate the number line shown below.
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:
tikz-pgf labels
add a comment |
I am trying to generate the number line shown below.
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:
tikz-pgf labels
If you replacebegintikzpicture
bybegintikzpicture[xscale=4.25]
, the line will be 15cm long, which is perhaps a bit too much. But you should be able to dial thexscale
that produces a result you like. E.g.xscale=2.5
looks reasonable to me.
– marmot
35 mins ago
add a comment |
I am trying to generate the number line shown below.
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:
tikz-pgf labels
I am trying to generate the number line shown below.
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:
tikz-pgf labels
tikz-pgf labels
asked 43 mins ago
Anthony MacksAnthony Macks
1668
1668
If you replacebegintikzpicture
bybegintikzpicture[xscale=4.25]
, the line will be 15cm long, which is perhaps a bit too much. But you should be able to dial thexscale
that produces a result you like. E.g.xscale=2.5
looks reasonable to me.
– marmot
35 mins ago
add a comment |
If you replacebegintikzpicture
bybegintikzpicture[xscale=4.25]
, the line will be 15cm long, which is perhaps a bit too much. But you should be able to dial thexscale
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
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%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
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2f483886%2fnumber-line-with-labels-above-and-below-the-horizontal-axis%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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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
If you replace
begintikzpicture
bybegintikzpicture[xscale=4.25]
, the line will be 15cm long, which is perhaps a bit too much. But you should be able to dial thexscale
that produces a result you like. E.g.xscale=2.5
looks reasonable to me.– marmot
35 mins ago