Fluctuating line graph in pfgplotsplotting two time series with boundsGrouped bar chartHow do i get the x...

Scheduling based problem

English or Hindi translation of Vyasa Smriti

Is Diceware more secure than a long passphrase?

Creating a chemical industry from a medieval tech level without petroleum

Why must Chinese maps be obfuscated?

Why did C use the -> operator instead of reusing the . operator?

What is the most expensive material in the world that could be used to create Pun-Pun's lute?

Why didn't the Space Shuttle bounce back into space as many times as possible so as to lose a lot of kinetic energy up there?

How do I produce this symbol: Ϟ in pdfLaTeX?

Is Electric Central Heating worth it if using Solar Panels?

Combinatorics problem, right solution?

Suing a Police Officer Instead of the Police Department

All ASCII characters with a given bit count

Why do games have consumables?

Crossed out red box fitting tightly around image

Island of Knights, Knaves and Spies

Why is the underscore command _ useful?

How do I deal with a coworker that keeps asking to make small superficial changes to a report, and it is seriously triggering my anxiety?

Why do distances seem to matter in the Foundation world?

A faster way to compute the largest prime factor

How much of a wave function must reside inside event horizon for it to be consumed by the black hole?

"Whatever a Russian does, they end up making the Kalashnikov gun"? Are there any similar proverbs in English?

Is there metaphorical meaning of "aus der Haft entlassen"?

Where was the County of Thurn und Taxis located?



Fluctuating line graph in pfgplots


plotting two time series with boundsGrouped bar chartHow do i get the x axis on top but keep a line on the bottomHow to prevent rounded and duplicated tick labels in pgfplots with fixed precision?How to hide empty (value 0) ybars with pgfplots?Show mark labels near marks and not centered in ybar interaval graphpgfplots: percentage in matrix plotCenter the axes in the coordinate originSine function in pgfplots and MATLAB. Why are different results obtained?How to use loops to improve TikZ/pgfplots-based animation?













0















I'd like to plot the following function between 0 and 0.5 using pgfplots.



function to plot



However I get as a result the fluctuating line in picture. I'd like to get a smooth line, as the function is.



Is this a numerical approximation error?



Here is a mwe



documentclass[tikz]{standalone}
usepackage{pgfplots}

begin{document}
begin{tikzpicture}
begin{axis}[axis x line=middle, axis y line=middle,
width=linewidth, height=0.5linewidth,
xmin = 0, xmax=0.5]
addplot[smooth, domain=0:0.5, samples = 100] {
exp(0.1*x)-sin(deg(0.1*x))
};
end{axis}
end{tikzpicture}
end{document}


Output:



Result I get









share



























    0















    I'd like to plot the following function between 0 and 0.5 using pgfplots.



    function to plot



    However I get as a result the fluctuating line in picture. I'd like to get a smooth line, as the function is.



    Is this a numerical approximation error?



    Here is a mwe



    documentclass[tikz]{standalone}
    usepackage{pgfplots}

    begin{document}
    begin{tikzpicture}
    begin{axis}[axis x line=middle, axis y line=middle,
    width=linewidth, height=0.5linewidth,
    xmin = 0, xmax=0.5]
    addplot[smooth, domain=0:0.5, samples = 100] {
    exp(0.1*x)-sin(deg(0.1*x))
    };
    end{axis}
    end{tikzpicture}
    end{document}


    Output:



    Result I get









    share

























      0












      0








      0








      I'd like to plot the following function between 0 and 0.5 using pgfplots.



      function to plot



      However I get as a result the fluctuating line in picture. I'd like to get a smooth line, as the function is.



      Is this a numerical approximation error?



      Here is a mwe



      documentclass[tikz]{standalone}
      usepackage{pgfplots}

      begin{document}
      begin{tikzpicture}
      begin{axis}[axis x line=middle, axis y line=middle,
      width=linewidth, height=0.5linewidth,
      xmin = 0, xmax=0.5]
      addplot[smooth, domain=0:0.5, samples = 100] {
      exp(0.1*x)-sin(deg(0.1*x))
      };
      end{axis}
      end{tikzpicture}
      end{document}


      Output:



      Result I get









      share














      I'd like to plot the following function between 0 and 0.5 using pgfplots.



      function to plot



      However I get as a result the fluctuating line in picture. I'd like to get a smooth line, as the function is.



      Is this a numerical approximation error?



      Here is a mwe



      documentclass[tikz]{standalone}
      usepackage{pgfplots}

      begin{document}
      begin{tikzpicture}
      begin{axis}[axis x line=middle, axis y line=middle,
      width=linewidth, height=0.5linewidth,
      xmin = 0, xmax=0.5]
      addplot[smooth, domain=0:0.5, samples = 100] {
      exp(0.1*x)-sin(deg(0.1*x))
      };
      end{axis}
      end{tikzpicture}
      end{document}


      Output:



      Result I get







      pgfplots





      share












      share










      share



      share










      asked 8 mins ago









      AlexAlex

      1062




      1062






















          0






          active

          oldest

          votes












          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%2f487635%2ffluctuating-line-graph-in-pfgplots%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f487635%2ffluctuating-line-graph-in-pfgplots%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

          Can't compile dgruyter and caption packagesLaTeX templates/packages for writing a patent specificationLatex...

          Schneeberg (Smreczany) Bibliografia | Menu...

          IEEEtran - How to include ORCID in TeX/PDF with PdfLatexIs there a standard way to include ORCID in TeX /...