Is there a way to show only specific values in x-axis of an excel chart?












1















In my problem, I have 0.1 0.2 0.5 1.0 on the x-axis and I want to plot my chart by showing only these values on the horizontal-axis. Is there anyway or any extension (like kutools) to make this happen in Excel? Or any other tool suggestion would be nice, like R, gnuplot, etc.



For example, in the following figure, you can see what I mean about the x-axis. Thanks in advance.



An example chart










share|improve this question




















  • 1





    Hard to answer without seeing sample data.

    – cybernetic.nomad
    Feb 19 at 12:35











  • " I want to plot my chart by showing only these values on the horizontal-axis" - what else do you see? would be useful to post current status too and explain what's wrong with it.

    – Máté Juhász
    Feb 19 at 16:59
















1















In my problem, I have 0.1 0.2 0.5 1.0 on the x-axis and I want to plot my chart by showing only these values on the horizontal-axis. Is there anyway or any extension (like kutools) to make this happen in Excel? Or any other tool suggestion would be nice, like R, gnuplot, etc.



For example, in the following figure, you can see what I mean about the x-axis. Thanks in advance.



An example chart










share|improve this question




















  • 1





    Hard to answer without seeing sample data.

    – cybernetic.nomad
    Feb 19 at 12:35











  • " I want to plot my chart by showing only these values on the horizontal-axis" - what else do you see? would be useful to post current status too and explain what's wrong with it.

    – Máté Juhász
    Feb 19 at 16:59














1












1








1








In my problem, I have 0.1 0.2 0.5 1.0 on the x-axis and I want to plot my chart by showing only these values on the horizontal-axis. Is there anyway or any extension (like kutools) to make this happen in Excel? Or any other tool suggestion would be nice, like R, gnuplot, etc.



For example, in the following figure, you can see what I mean about the x-axis. Thanks in advance.



An example chart










share|improve this question
















In my problem, I have 0.1 0.2 0.5 1.0 on the x-axis and I want to plot my chart by showing only these values on the horizontal-axis. Is there anyway or any extension (like kutools) to make this happen in Excel? Or any other tool suggestion would be nice, like R, gnuplot, etc.



For example, in the following figure, you can see what I mean about the x-axis. Thanks in advance.



An example chart







microsoft-excel charts gnuplot






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 19 at 16:58









Máté Juhász

14.7k63452




14.7k63452










asked Feb 19 at 9:11









stack mestack me

61




61








  • 1





    Hard to answer without seeing sample data.

    – cybernetic.nomad
    Feb 19 at 12:35











  • " I want to plot my chart by showing only these values on the horizontal-axis" - what else do you see? would be useful to post current status too and explain what's wrong with it.

    – Máté Juhász
    Feb 19 at 16:59














  • 1





    Hard to answer without seeing sample data.

    – cybernetic.nomad
    Feb 19 at 12:35











  • " I want to plot my chart by showing only these values on the horizontal-axis" - what else do you see? would be useful to post current status too and explain what's wrong with it.

    – Máté Juhász
    Feb 19 at 16:59








1




1





Hard to answer without seeing sample data.

– cybernetic.nomad
Feb 19 at 12:35





Hard to answer without seeing sample data.

– cybernetic.nomad
Feb 19 at 12:35













" I want to plot my chart by showing only these values on the horizontal-axis" - what else do you see? would be useful to post current status too and explain what's wrong with it.

– Máté Juhász
Feb 19 at 16:59





" I want to plot my chart by showing only these values on the horizontal-axis" - what else do you see? would be useful to post current status too and explain what's wrong with it.

– Máté Juhász
Feb 19 at 16:59










1 Answer
1






active

oldest

votes


















1














You can either:

1) Use a line chart, which treats the horizontal axis as categories (rather than quantities).

2) Use an XY/Scatter plot, with the default horizontal axis "turned off" and replaced with a "helper" series with vertical values of 0 and horizontal values as desired in your dataset (this is my preferred method).



enter image description here






share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    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: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    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%2fsuperuser.com%2fquestions%2f1407365%2fis-there-a-way-to-show-only-specific-values-in-x-axis-of-an-excel-chart%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    You can either:

    1) Use a line chart, which treats the horizontal axis as categories (rather than quantities).

    2) Use an XY/Scatter plot, with the default horizontal axis "turned off" and replaced with a "helper" series with vertical values of 0 and horizontal values as desired in your dataset (this is my preferred method).



    enter image description here






    share|improve this answer






























      1














      You can either:

      1) Use a line chart, which treats the horizontal axis as categories (rather than quantities).

      2) Use an XY/Scatter plot, with the default horizontal axis "turned off" and replaced with a "helper" series with vertical values of 0 and horizontal values as desired in your dataset (this is my preferred method).



      enter image description here






      share|improve this answer




























        1












        1








        1







        You can either:

        1) Use a line chart, which treats the horizontal axis as categories (rather than quantities).

        2) Use an XY/Scatter plot, with the default horizontal axis "turned off" and replaced with a "helper" series with vertical values of 0 and horizontal values as desired in your dataset (this is my preferred method).



        enter image description here






        share|improve this answer















        You can either:

        1) Use a line chart, which treats the horizontal axis as categories (rather than quantities).

        2) Use an XY/Scatter plot, with the default horizontal axis "turned off" and replaced with a "helper" series with vertical values of 0 and horizontal values as desired in your dataset (this is my preferred method).



        enter image description here







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Feb 19 at 14:12

























        answered Feb 19 at 13:42









        davdav

        7,73532143




        7,73532143






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • 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%2fsuperuser.com%2fquestions%2f1407365%2fis-there-a-way-to-show-only-specific-values-in-x-axis-of-an-excel-chart%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

            Index of /

            Tribalistas

            Listed building