Drawing numerical ray












2














enter image description here



Maybe i am seearching wrong but I couldn't find way to draw this ray with vertical lines. How?










share|improve this question


















  • 3




    Number line is probably the word you had been looking for.
    – Johannes_B
    Dec 24 at 5:35
















2














enter image description here



Maybe i am seearching wrong but I couldn't find way to draw this ray with vertical lines. How?










share|improve this question


















  • 3




    Number line is probably the word you had been looking for.
    – Johannes_B
    Dec 24 at 5:35














2












2








2







enter image description here



Maybe i am seearching wrong but I couldn't find way to draw this ray with vertical lines. How?










share|improve this question













enter image description here



Maybe i am seearching wrong but I couldn't find way to draw this ray with vertical lines. How?







tikz-pgf






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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














  • 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










4 Answers
4






active

oldest

votes


















7














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}


enter image description here



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}


enter image description here



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}


enter image description here



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}


enter image description here






share|improve this answer























  • 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



















3














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}


enter image description here






share|improve this answer





























    2














    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}


    enter image description here



    The zero is intentionally left hidden for the sake of simplicity.






    share|improve this answer





























      2














      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}


      enter image description here






      share|improve this answer





















        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%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









        7














        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}


        enter image description here



        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}


        enter image description here



        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}


        enter image description here



        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}


        enter image description here






        share|improve this answer























        • 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
















        7














        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}


        enter image description here



        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}


        enter image description here



        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}


        enter image description here



        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}


        enter image description here






        share|improve this answer























        • 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














        7












        7








        7






        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}


        enter image description here



        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}


        enter image description here



        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}


        enter image description here



        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}


        enter image description here






        share|improve this answer














        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}


        enter image description here



        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}


        enter image description here



        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}


        enter image description here



        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}


        enter image description here







        share|improve this answer














        share|improve this answer



        share|improve this answer








        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


















        • 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











        3














        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}


        enter image description here






        share|improve this answer


























          3














          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}


          enter image description here






          share|improve this answer
























            3












            3








            3






            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}


            enter image description here






            share|improve this answer












            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}


            enter image description here







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 2 days ago









            Herbert

            269k24407717




            269k24407717























                2














                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}


                enter image description here



                The zero is intentionally left hidden for the sake of simplicity.






                share|improve this answer


























                  2














                  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}


                  enter image description here



                  The zero is intentionally left hidden for the sake of simplicity.






                  share|improve this answer
























                    2












                    2








                    2






                    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}


                    enter image description here



                    The zero is intentionally left hidden for the sake of simplicity.






                    share|improve this answer












                    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}


                    enter image description here



                    The zero is intentionally left hidden for the sake of simplicity.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered 2 days ago









                    God Must Be Crazy

                    5,47011039




                    5,47011039























                        2














                        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}


                        enter image description here






                        share|improve this answer


























                          2














                          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}


                          enter image description here






                          share|improve this answer
























                            2












                            2








                            2






                            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}


                            enter image description here






                            share|improve this answer












                            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}


                            enter image description here







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered 2 days ago









                            chishimotoji

                            727215




                            727215






























                                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.





                                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.




                                draft saved


                                draft discarded














                                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





















































                                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

                                If I really need a card on my start hand, how many mulligans make sense? [duplicate]

                                Alcedinidae

                                Can an atomic nucleus contain both particles and antiparticles? [duplicate]