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
    Dec 24 at 13:26






  • 1




    @SimeonSimeonov Can you please tell me what you tried precisely? (I am very confident that there will be a solution.)
    – marmot
    Dec 24 at 13:48










  • I need to draw this: imgur.com/a/d3w9Q9i The size number can be the same. Hope you can read it.
    – Simeon Simeonov
    Dec 24 at 13:53












  • @SimeonSimeonov I added two more examples.
    – marmot
    Dec 24 at 14:16










  • Here what happens. imgur.com/a/0SvfMTw Is there any way to make the numbers with floating point over the ray?
    – Simeon Simeonov
    Dec 24 at 15:15



















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
          Dec 24 at 13:26






        • 1




          @SimeonSimeonov Can you please tell me what you tried precisely? (I am very confident that there will be a solution.)
          – marmot
          Dec 24 at 13:48










        • I need to draw this: imgur.com/a/d3w9Q9i The size number can be the same. Hope you can read it.
          – Simeon Simeonov
          Dec 24 at 13:53












        • @SimeonSimeonov I added two more examples.
          – marmot
          Dec 24 at 14:16










        • Here what happens. imgur.com/a/0SvfMTw Is there any way to make the numbers with floating point over the ray?
          – Simeon Simeonov
          Dec 24 at 15:15
















        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
          Dec 24 at 13:26






        • 1




          @SimeonSimeonov Can you please tell me what you tried precisely? (I am very confident that there will be a solution.)
          – marmot
          Dec 24 at 13:48










        • I need to draw this: imgur.com/a/d3w9Q9i The size number can be the same. Hope you can read it.
          – Simeon Simeonov
          Dec 24 at 13:53












        • @SimeonSimeonov I added two more examples.
          – marmot
          Dec 24 at 14:16










        • Here what happens. imgur.com/a/0SvfMTw Is there any way to make the numbers with floating point over the ray?
          – Simeon Simeonov
          Dec 24 at 15:15














        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 Dec 24 at 15:44

























        answered Dec 24 at 3:40









        marmot

        86.7k499185




        86.7k499185












        • I am trying to change the parameters in foreach with floating numbers but it's a mess. Is there a solution?
          – Simeon Simeonov
          Dec 24 at 13:26






        • 1




          @SimeonSimeonov Can you please tell me what you tried precisely? (I am very confident that there will be a solution.)
          – marmot
          Dec 24 at 13:48










        • I need to draw this: imgur.com/a/d3w9Q9i The size number can be the same. Hope you can read it.
          – Simeon Simeonov
          Dec 24 at 13:53












        • @SimeonSimeonov I added two more examples.
          – marmot
          Dec 24 at 14:16










        • Here what happens. imgur.com/a/0SvfMTw Is there any way to make the numbers with floating point over the ray?
          – Simeon Simeonov
          Dec 24 at 15:15


















        • I am trying to change the parameters in foreach with floating numbers but it's a mess. Is there a solution?
          – Simeon Simeonov
          Dec 24 at 13:26






        • 1




          @SimeonSimeonov Can you please tell me what you tried precisely? (I am very confident that there will be a solution.)
          – marmot
          Dec 24 at 13:48










        • I need to draw this: imgur.com/a/d3w9Q9i The size number can be the same. Hope you can read it.
          – Simeon Simeonov
          Dec 24 at 13:53












        • @SimeonSimeonov I added two more examples.
          – marmot
          Dec 24 at 14:16










        • Here what happens. imgur.com/a/0SvfMTw Is there any way to make the numbers with floating point over the ray?
          – Simeon Simeonov
          Dec 24 at 15:15
















        I am trying to change the parameters in foreach with floating numbers but it's a mess. Is there a solution?
        – Simeon Simeonov
        Dec 24 at 13:26




        I am trying to change the parameters in foreach with floating numbers but it's a mess. Is there a solution?
        – Simeon Simeonov
        Dec 24 at 13:26




        1




        1




        @SimeonSimeonov Can you please tell me what you tried precisely? (I am very confident that there will be a solution.)
        – marmot
        Dec 24 at 13:48




        @SimeonSimeonov Can you please tell me what you tried precisely? (I am very confident that there will be a solution.)
        – marmot
        Dec 24 at 13:48












        I need to draw this: imgur.com/a/d3w9Q9i The size number can be the same. Hope you can read it.
        – Simeon Simeonov
        Dec 24 at 13:53






        I need to draw this: imgur.com/a/d3w9Q9i The size number can be the same. Hope you can read it.
        – Simeon Simeonov
        Dec 24 at 13:53














        @SimeonSimeonov I added two more examples.
        – marmot
        Dec 24 at 14:16




        @SimeonSimeonov I added two more examples.
        – marmot
        Dec 24 at 14:16












        Here what happens. imgur.com/a/0SvfMTw Is there any way to make the numbers with floating point over the ray?
        – Simeon Simeonov
        Dec 24 at 15:15




        Here what happens. imgur.com/a/0SvfMTw Is there any way to make the numbers with floating point over the ray?
        – Simeon Simeonov
        Dec 24 at 15:15











        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 Dec 24 at 8:43









            Herbert

            269k24408717




            269k24408717























                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 Dec 24 at 8:26









                    God Must Be Crazy

                    5,54011039




                    5,54011039























                        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 Dec 24 at 9:26









                            chishimotoji

                            744216




                            744216






























                                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

                                Сан-Квентин

                                8-я гвардейская общевойсковая армия

                                Алькесар