Own markers on the axis of the plot

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite












Could you please tell me how to make the ticks on the axes not in the numeric form (say, 0, 0.1, 0.2) but in symbolic form (say, "zero", "zero point one" and so on), in the plot command?










share|improve this question





















  • How would you like 0.325 be rendered?
    – J. M. is somewhat okay.♦
    4 hours ago










  • @J.M.issomewhatokay. : actually instead of numbers I want the symbolic quantities like $x_0, x_1$, so my question should be rephrased: I want to associate some of the numbers with corresponding symbols, say 0.325->$x_0$, and then to show these symbols on axis instead of the corresponding numbers. I am sorry for unclear formulations.
    – John Taylor
    4 hours ago







  • 1




    Like the $x$-axis on With[t = π Range[0, 3, 1/3], Plot[Sin[x], x, 0, 3 π, Ticks -> Transpose[t, t], Automatic]]?
    – J. M. is somewhat okay.♦
    4 hours ago






  • 1




    @John Taylor Please have a look at the Menu/Help/WolframDocumentation/Ticks/Scope/TicksPositions and Labeling and there the last example shows exactly what you need.
    – Alexei Boulbitch
    4 hours ago














up vote
3
down vote

favorite












Could you please tell me how to make the ticks on the axes not in the numeric form (say, 0, 0.1, 0.2) but in symbolic form (say, "zero", "zero point one" and so on), in the plot command?










share|improve this question





















  • How would you like 0.325 be rendered?
    – J. M. is somewhat okay.♦
    4 hours ago










  • @J.M.issomewhatokay. : actually instead of numbers I want the symbolic quantities like $x_0, x_1$, so my question should be rephrased: I want to associate some of the numbers with corresponding symbols, say 0.325->$x_0$, and then to show these symbols on axis instead of the corresponding numbers. I am sorry for unclear formulations.
    – John Taylor
    4 hours ago







  • 1




    Like the $x$-axis on With[t = π Range[0, 3, 1/3], Plot[Sin[x], x, 0, 3 π, Ticks -> Transpose[t, t], Automatic]]?
    – J. M. is somewhat okay.♦
    4 hours ago






  • 1




    @John Taylor Please have a look at the Menu/Help/WolframDocumentation/Ticks/Scope/TicksPositions and Labeling and there the last example shows exactly what you need.
    – Alexei Boulbitch
    4 hours ago












up vote
3
down vote

favorite









up vote
3
down vote

favorite











Could you please tell me how to make the ticks on the axes not in the numeric form (say, 0, 0.1, 0.2) but in symbolic form (say, "zero", "zero point one" and so on), in the plot command?










share|improve this question













Could you please tell me how to make the ticks on the axes not in the numeric form (say, 0, 0.1, 0.2) but in symbolic form (say, "zero", "zero point one" and so on), in the plot command?







plotting syntax






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 5 hours ago









John Taylor

579211




579211











  • How would you like 0.325 be rendered?
    – J. M. is somewhat okay.♦
    4 hours ago










  • @J.M.issomewhatokay. : actually instead of numbers I want the symbolic quantities like $x_0, x_1$, so my question should be rephrased: I want to associate some of the numbers with corresponding symbols, say 0.325->$x_0$, and then to show these symbols on axis instead of the corresponding numbers. I am sorry for unclear formulations.
    – John Taylor
    4 hours ago







  • 1




    Like the $x$-axis on With[t = π Range[0, 3, 1/3], Plot[Sin[x], x, 0, 3 π, Ticks -> Transpose[t, t], Automatic]]?
    – J. M. is somewhat okay.♦
    4 hours ago






  • 1




    @John Taylor Please have a look at the Menu/Help/WolframDocumentation/Ticks/Scope/TicksPositions and Labeling and there the last example shows exactly what you need.
    – Alexei Boulbitch
    4 hours ago
















  • How would you like 0.325 be rendered?
    – J. M. is somewhat okay.♦
    4 hours ago










  • @J.M.issomewhatokay. : actually instead of numbers I want the symbolic quantities like $x_0, x_1$, so my question should be rephrased: I want to associate some of the numbers with corresponding symbols, say 0.325->$x_0$, and then to show these symbols on axis instead of the corresponding numbers. I am sorry for unclear formulations.
    – John Taylor
    4 hours ago







  • 1




    Like the $x$-axis on With[t = π Range[0, 3, 1/3], Plot[Sin[x], x, 0, 3 π, Ticks -> Transpose[t, t], Automatic]]?
    – J. M. is somewhat okay.♦
    4 hours ago






  • 1




    @John Taylor Please have a look at the Menu/Help/WolframDocumentation/Ticks/Scope/TicksPositions and Labeling and there the last example shows exactly what you need.
    – Alexei Boulbitch
    4 hours ago















How would you like 0.325 be rendered?
– J. M. is somewhat okay.♦
4 hours ago




How would you like 0.325 be rendered?
– J. M. is somewhat okay.♦
4 hours ago












@J.M.issomewhatokay. : actually instead of numbers I want the symbolic quantities like $x_0, x_1$, so my question should be rephrased: I want to associate some of the numbers with corresponding symbols, say 0.325->$x_0$, and then to show these symbols on axis instead of the corresponding numbers. I am sorry for unclear formulations.
– John Taylor
4 hours ago





@J.M.issomewhatokay. : actually instead of numbers I want the symbolic quantities like $x_0, x_1$, so my question should be rephrased: I want to associate some of the numbers with corresponding symbols, say 0.325->$x_0$, and then to show these symbols on axis instead of the corresponding numbers. I am sorry for unclear formulations.
– John Taylor
4 hours ago





1




1




Like the $x$-axis on With[t = π Range[0, 3, 1/3], Plot[Sin[x], x, 0, 3 π, Ticks -> Transpose[t, t], Automatic]]?
– J. M. is somewhat okay.♦
4 hours ago




Like the $x$-axis on With[t = π Range[0, 3, 1/3], Plot[Sin[x], x, 0, 3 π, Ticks -> Transpose[t, t], Automatic]]?
– J. M. is somewhat okay.♦
4 hours ago




1




1




@John Taylor Please have a look at the Menu/Help/WolframDocumentation/Ticks/Scope/TicksPositions and Labeling and there the last example shows exactly what you need.
– Alexei Boulbitch
4 hours ago




@John Taylor Please have a look at the Menu/Help/WolframDocumentation/Ticks/Scope/TicksPositions and Labeling and there the last example shows exactly what you need.
– Alexei Boulbitch
4 hours ago










1 Answer
1






active

oldest

votes

















up vote
4
down vote



accepted










Since I have not posted any answer for a very long time,



num = Range[5]
lab = Table[StringForm["!(*SubscriptBox[(x), (``)])", i], i, num]
tick = Transpose[num, lab]
Plot[x, x, 1, 5, Ticks -> tick, Automatic]


enter image description here






share|improve this answer




















    Your Answer




    StackExchange.ifUsing("editor", function ()
    return StackExchange.using("mathjaxEditing", function ()
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    );
    );
    , "mathjax-editing");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "387"
    ;
    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',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f183166%2fown-markers-on-the-axis-of-the-plot%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    4
    down vote



    accepted










    Since I have not posted any answer for a very long time,



    num = Range[5]
    lab = Table[StringForm["!(*SubscriptBox[(x), (``)])", i], i, num]
    tick = Transpose[num, lab]
    Plot[x, x, 1, 5, Ticks -> tick, Automatic]


    enter image description here






    share|improve this answer
























      up vote
      4
      down vote



      accepted










      Since I have not posted any answer for a very long time,



      num = Range[5]
      lab = Table[StringForm["!(*SubscriptBox[(x), (``)])", i], i, num]
      tick = Transpose[num, lab]
      Plot[x, x, 1, 5, Ticks -> tick, Automatic]


      enter image description here






      share|improve this answer






















        up vote
        4
        down vote



        accepted







        up vote
        4
        down vote



        accepted






        Since I have not posted any answer for a very long time,



        num = Range[5]
        lab = Table[StringForm["!(*SubscriptBox[(x), (``)])", i], i, num]
        tick = Transpose[num, lab]
        Plot[x, x, 1, 5, Ticks -> tick, Automatic]


        enter image description here






        share|improve this answer












        Since I have not posted any answer for a very long time,



        num = Range[5]
        lab = Table[StringForm["!(*SubscriptBox[(x), (``)])", i], i, num]
        tick = Transpose[num, lab]
        Plot[x, x, 1, 5, Ticks -> tick, Automatic]


        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 50 mins ago









        Sumit

        11.4k21854




        11.4k21854



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f183166%2fown-markers-on-the-axis-of-the-plot%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            What does second last employer means? [closed]

            List of Gilmore Girls characters

            Confectionery