How to use reverse scaling function with error bars?

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











up vote
4
down vote

favorite












I have data which I would like to plot along with the corresponding error bars:



54927.7, -1.91044, 
ErrorBar[38.2664, 0.0538982], 55320.9, -1.97673,
ErrorBar[45.3592, 0.101486], 55671.4, -2.15716,
ErrorBar[41.2234, 0.0258249], 56032.9, -2.15957,
ErrorBar[38.8805, 0.0191277], 56410.6, -2.14289,
ErrorBar[41.5501, 0.0189911], 56787.2, -2.19703,
ErrorBar[38.1972, 0.00632055], 57137.5, -2.1839,
ErrorBar[35.6098, 0.0084108], 57493.3, -2.19994,
ErrorBar[38.0298, 0.00651633], 57859.5, -2.19687,
ErrorBar[40.9682, 0.00658857]


I can use the ErrorListPlot function in mathematica just fine, however if I would like to reverse the y axis scale with the function ScalingFunctions->"Reverse" the error bars do not get plotted along with the data.....any suggestions on how to fix this?










share|improve this question









New contributor




msuffak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    up vote
    4
    down vote

    favorite












    I have data which I would like to plot along with the corresponding error bars:



    54927.7, -1.91044, 
    ErrorBar[38.2664, 0.0538982], 55320.9, -1.97673,
    ErrorBar[45.3592, 0.101486], 55671.4, -2.15716,
    ErrorBar[41.2234, 0.0258249], 56032.9, -2.15957,
    ErrorBar[38.8805, 0.0191277], 56410.6, -2.14289,
    ErrorBar[41.5501, 0.0189911], 56787.2, -2.19703,
    ErrorBar[38.1972, 0.00632055], 57137.5, -2.1839,
    ErrorBar[35.6098, 0.0084108], 57493.3, -2.19994,
    ErrorBar[38.0298, 0.00651633], 57859.5, -2.19687,
    ErrorBar[40.9682, 0.00658857]


    I can use the ErrorListPlot function in mathematica just fine, however if I would like to reverse the y axis scale with the function ScalingFunctions->"Reverse" the error bars do not get plotted along with the data.....any suggestions on how to fix this?










    share|improve this question









    New contributor




    msuffak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      4
      down vote

      favorite









      up vote
      4
      down vote

      favorite











      I have data which I would like to plot along with the corresponding error bars:



      54927.7, -1.91044, 
      ErrorBar[38.2664, 0.0538982], 55320.9, -1.97673,
      ErrorBar[45.3592, 0.101486], 55671.4, -2.15716,
      ErrorBar[41.2234, 0.0258249], 56032.9, -2.15957,
      ErrorBar[38.8805, 0.0191277], 56410.6, -2.14289,
      ErrorBar[41.5501, 0.0189911], 56787.2, -2.19703,
      ErrorBar[38.1972, 0.00632055], 57137.5, -2.1839,
      ErrorBar[35.6098, 0.0084108], 57493.3, -2.19994,
      ErrorBar[38.0298, 0.00651633], 57859.5, -2.19687,
      ErrorBar[40.9682, 0.00658857]


      I can use the ErrorListPlot function in mathematica just fine, however if I would like to reverse the y axis scale with the function ScalingFunctions->"Reverse" the error bars do not get plotted along with the data.....any suggestions on how to fix this?










      share|improve this question









      New contributor




      msuffak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I have data which I would like to plot along with the corresponding error bars:



      54927.7, -1.91044, 
      ErrorBar[38.2664, 0.0538982], 55320.9, -1.97673,
      ErrorBar[45.3592, 0.101486], 55671.4, -2.15716,
      ErrorBar[41.2234, 0.0258249], 56032.9, -2.15957,
      ErrorBar[38.8805, 0.0191277], 56410.6, -2.14289,
      ErrorBar[41.5501, 0.0189911], 56787.2, -2.19703,
      ErrorBar[38.1972, 0.00632055], 57137.5, -2.1839,
      ErrorBar[35.6098, 0.0084108], 57493.3, -2.19994,
      ErrorBar[38.0298, 0.00651633], 57859.5, -2.19687,
      ErrorBar[40.9682, 0.00658857]


      I can use the ErrorListPlot function in mathematica just fine, however if I would like to reverse the y axis scale with the function ScalingFunctions->"Reverse" the error bars do not get plotted along with the data.....any suggestions on how to fix this?







      plotting error scaling






      share|improve this question









      New contributor




      msuffak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      msuffak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 1 hour ago









      kglr

      161k8185384




      161k8185384






      New contributor




      msuffak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 2 hours ago









      msuffak

      211




      211




      New contributor




      msuffak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      msuffak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      msuffak is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          4
          down vote













          You can post-process the ErrorListPlot output to reverse the vertical axis using ReflectionTransform and modify the ticks:



           Show[MapAt[GeometricTransformation[#, ReflectionTransform[0, -1]] &, 
          ErrorListPlot[data], 1],
          PlotRange -> 1.8, 2.3, AxesOrigin -> Automatic, 2.3,
          Ticks -> Automatic, Charting`FindTicks[0, 1, 0, -1] ]


          enter image description here



          Alternatively,



          Show[ErrorListPlot[data] /. p : _Point | _Line :> 
          GeometricTransformation[p, ReflectionTransform[0, -1]],
          PlotRange -> 1.8, 2.3, AxesOrigin -> Automatic, 2.3,
          Ticks -> Automatic, Charting`FindTicks[0, 1, 0, -1] ]



          same picture







          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
            );



            );






            msuffak is a new contributor. Be nice, and check out our Code of Conduct.









             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f182324%2fhow-to-use-reverse-scaling-function-with-error-bars%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













            You can post-process the ErrorListPlot output to reverse the vertical axis using ReflectionTransform and modify the ticks:



             Show[MapAt[GeometricTransformation[#, ReflectionTransform[0, -1]] &, 
            ErrorListPlot[data], 1],
            PlotRange -> 1.8, 2.3, AxesOrigin -> Automatic, 2.3,
            Ticks -> Automatic, Charting`FindTicks[0, 1, 0, -1] ]


            enter image description here



            Alternatively,



            Show[ErrorListPlot[data] /. p : _Point | _Line :> 
            GeometricTransformation[p, ReflectionTransform[0, -1]],
            PlotRange -> 1.8, 2.3, AxesOrigin -> Automatic, 2.3,
            Ticks -> Automatic, Charting`FindTicks[0, 1, 0, -1] ]



            same picture







            share|improve this answer


























              up vote
              4
              down vote













              You can post-process the ErrorListPlot output to reverse the vertical axis using ReflectionTransform and modify the ticks:



               Show[MapAt[GeometricTransformation[#, ReflectionTransform[0, -1]] &, 
              ErrorListPlot[data], 1],
              PlotRange -> 1.8, 2.3, AxesOrigin -> Automatic, 2.3,
              Ticks -> Automatic, Charting`FindTicks[0, 1, 0, -1] ]


              enter image description here



              Alternatively,



              Show[ErrorListPlot[data] /. p : _Point | _Line :> 
              GeometricTransformation[p, ReflectionTransform[0, -1]],
              PlotRange -> 1.8, 2.3, AxesOrigin -> Automatic, 2.3,
              Ticks -> Automatic, Charting`FindTicks[0, 1, 0, -1] ]



              same picture







              share|improve this answer
























                up vote
                4
                down vote










                up vote
                4
                down vote









                You can post-process the ErrorListPlot output to reverse the vertical axis using ReflectionTransform and modify the ticks:



                 Show[MapAt[GeometricTransformation[#, ReflectionTransform[0, -1]] &, 
                ErrorListPlot[data], 1],
                PlotRange -> 1.8, 2.3, AxesOrigin -> Automatic, 2.3,
                Ticks -> Automatic, Charting`FindTicks[0, 1, 0, -1] ]


                enter image description here



                Alternatively,



                Show[ErrorListPlot[data] /. p : _Point | _Line :> 
                GeometricTransformation[p, ReflectionTransform[0, -1]],
                PlotRange -> 1.8, 2.3, AxesOrigin -> Automatic, 2.3,
                Ticks -> Automatic, Charting`FindTicks[0, 1, 0, -1] ]



                same picture







                share|improve this answer














                You can post-process the ErrorListPlot output to reverse the vertical axis using ReflectionTransform and modify the ticks:



                 Show[MapAt[GeometricTransformation[#, ReflectionTransform[0, -1]] &, 
                ErrorListPlot[data], 1],
                PlotRange -> 1.8, 2.3, AxesOrigin -> Automatic, 2.3,
                Ticks -> Automatic, Charting`FindTicks[0, 1, 0, -1] ]


                enter image description here



                Alternatively,



                Show[ErrorListPlot[data] /. p : _Point | _Line :> 
                GeometricTransformation[p, ReflectionTransform[0, -1]],
                PlotRange -> 1.8, 2.3, AxesOrigin -> Automatic, 2.3,
                Ticks -> Automatic, Charting`FindTicks[0, 1, 0, -1] ]



                same picture








                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 1 hour ago

























                answered 1 hour ago









                kglr

                161k8185384




                161k8185384




















                    msuffak is a new contributor. Be nice, and check out our Code of Conduct.









                     

                    draft saved


                    draft discarded


















                    msuffak is a new contributor. Be nice, and check out our Code of Conduct.












                    msuffak is a new contributor. Be nice, and check out our Code of Conduct.











                    msuffak is a new contributor. Be nice, and check out our Code of Conduct.













                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f182324%2fhow-to-use-reverse-scaling-function-with-error-bars%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Comments

                    Popular posts from this blog

                    Long meetings (6-7 hours a day): Being “babysat” by supervisor

                    Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

                    Confectionery