What is the difference between plotstyle=curve and plotpoints=1000?












5














The first code:



documentclass[pstricks]{standalone}
usepackage{pst-plot}
defm{1/((x-1)^2)^(1/3)}

begin{document}
begin{pspicture}(-1,-1)(3.5,3.5)
psaxes[labelFontSize=scriptstyle]{->}(0,0)(3,3)[$x$,-90][$y$,0]
psplot[ algebraic,
% plotstyle=curve,
plotpoints=1000, <<-- notice
yMaxValue=3,
linewidth=1.5pt,
linecolor=red]{0}{3}{m}
psline[linestyle=dashed](1,0)(1,3)
end{pspicture}
end{document}


enter image description here



The second code:



documentclass[pstricks]{standalone}
usepackage{pst-plot}
defm{1/((x-1)^2)^(1/3)}

begin{document}
begin{pspicture}(-1,-1)(3.5,3.5)
psaxes[labelFontSize=scriptstyle]{->}(0,0)(3,3)[$x$,-90][$y$,0]
psplot[ algebraic,
plotstyle=curve,
%plotpoints=1000,
yMaxValue=3,
linewidth=1.5pt,
linecolor=red]{0}{3}{m}
psline[linestyle=dashed](1,0)(1,3)
end{pspicture}
end{document}


The result of compiling is frustrating.




  1. What is the difference between them?

  2. Can you fix the picture to make it become equal?










share|improve this question





























    5














    The first code:



    documentclass[pstricks]{standalone}
    usepackage{pst-plot}
    defm{1/((x-1)^2)^(1/3)}

    begin{document}
    begin{pspicture}(-1,-1)(3.5,3.5)
    psaxes[labelFontSize=scriptstyle]{->}(0,0)(3,3)[$x$,-90][$y$,0]
    psplot[ algebraic,
    % plotstyle=curve,
    plotpoints=1000, <<-- notice
    yMaxValue=3,
    linewidth=1.5pt,
    linecolor=red]{0}{3}{m}
    psline[linestyle=dashed](1,0)(1,3)
    end{pspicture}
    end{document}


    enter image description here



    The second code:



    documentclass[pstricks]{standalone}
    usepackage{pst-plot}
    defm{1/((x-1)^2)^(1/3)}

    begin{document}
    begin{pspicture}(-1,-1)(3.5,3.5)
    psaxes[labelFontSize=scriptstyle]{->}(0,0)(3,3)[$x$,-90][$y$,0]
    psplot[ algebraic,
    plotstyle=curve,
    %plotpoints=1000,
    yMaxValue=3,
    linewidth=1.5pt,
    linecolor=red]{0}{3}{m}
    psline[linestyle=dashed](1,0)(1,3)
    end{pspicture}
    end{document}


    The result of compiling is frustrating.




    1. What is the difference between them?

    2. Can you fix the picture to make it become equal?










    share|improve this question



























      5












      5








      5







      The first code:



      documentclass[pstricks]{standalone}
      usepackage{pst-plot}
      defm{1/((x-1)^2)^(1/3)}

      begin{document}
      begin{pspicture}(-1,-1)(3.5,3.5)
      psaxes[labelFontSize=scriptstyle]{->}(0,0)(3,3)[$x$,-90][$y$,0]
      psplot[ algebraic,
      % plotstyle=curve,
      plotpoints=1000, <<-- notice
      yMaxValue=3,
      linewidth=1.5pt,
      linecolor=red]{0}{3}{m}
      psline[linestyle=dashed](1,0)(1,3)
      end{pspicture}
      end{document}


      enter image description here



      The second code:



      documentclass[pstricks]{standalone}
      usepackage{pst-plot}
      defm{1/((x-1)^2)^(1/3)}

      begin{document}
      begin{pspicture}(-1,-1)(3.5,3.5)
      psaxes[labelFontSize=scriptstyle]{->}(0,0)(3,3)[$x$,-90][$y$,0]
      psplot[ algebraic,
      plotstyle=curve,
      %plotpoints=1000,
      yMaxValue=3,
      linewidth=1.5pt,
      linecolor=red]{0}{3}{m}
      psline[linestyle=dashed](1,0)(1,3)
      end{pspicture}
      end{document}


      The result of compiling is frustrating.




      1. What is the difference between them?

      2. Can you fix the picture to make it become equal?










      share|improve this question















      The first code:



      documentclass[pstricks]{standalone}
      usepackage{pst-plot}
      defm{1/((x-1)^2)^(1/3)}

      begin{document}
      begin{pspicture}(-1,-1)(3.5,3.5)
      psaxes[labelFontSize=scriptstyle]{->}(0,0)(3,3)[$x$,-90][$y$,0]
      psplot[ algebraic,
      % plotstyle=curve,
      plotpoints=1000, <<-- notice
      yMaxValue=3,
      linewidth=1.5pt,
      linecolor=red]{0}{3}{m}
      psline[linestyle=dashed](1,0)(1,3)
      end{pspicture}
      end{document}


      enter image description here



      The second code:



      documentclass[pstricks]{standalone}
      usepackage{pst-plot}
      defm{1/((x-1)^2)^(1/3)}

      begin{document}
      begin{pspicture}(-1,-1)(3.5,3.5)
      psaxes[labelFontSize=scriptstyle]{->}(0,0)(3,3)[$x$,-90][$y$,0]
      psplot[ algebraic,
      plotstyle=curve,
      %plotpoints=1000,
      yMaxValue=3,
      linewidth=1.5pt,
      linecolor=red]{0}{3}{m}
      psline[linestyle=dashed](1,0)(1,3)
      end{pspicture}
      end{document}


      The result of compiling is frustrating.




      1. What is the difference between them?

      2. Can you fix the picture to make it become equal?







      pstricks pst-plot






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 1 at 13:57









      Herbert

      268k23407716




      268k23407716










      asked Dec 1 at 11:23









      chishimotoji

      726212




      726212






















          2 Answers
          2






          active

          oldest

          votes


















          3














          The best way to explain is showing the animations, right?



          With curve plotstyle



          It needs at least 3 points. When N=2 there is no graph.



          documentclass[12pt,pstricks]{standalone}
          usepackage{pst-plot}
          defm{1/((x-1)^2)^(1/3)}
          defxl{3 -1.5 exp neg 1 add}
          defxr{3 -1.5 exp 1 add}
          begin{document}
          multido{i=2+1}{20}{%
          begin{pspicture}[algebraic,showpoints,plotstyle=curve](-1,-1)(3.5,4)
          psaxes[labelFontSize=scriptstyle]{->}(0,0)(3,3.5)[$x$,-90][$y$,0]
          psplot[linecolor=red,plotpoints=i]{0}{xl}{m}
          psplot[linecolor=red,plotpoints=i]{xr}{3}{m}
          psline[linestyle=dashed](1,0)(1,3)
          rput[t](2,3){$N=i$}
          end{pspicture}}
          end{document}


          enter image description here



          With line plotstyle



          It needs at least 2 points.



          documentclass[12pt,pstricks]{standalone}
          usepackage{pst-plot}
          defm{1/((x-1)^2)^(1/3)}
          defxl{3 -1.5 exp neg 1 add}
          defxr{3 -1.5 exp 1 add}
          begin{document}
          multido{i=2+1}{20}{%
          begin{pspicture}[algebraic,showpoints,plotstyle=line](-1,-1)(3.5,4)
          psaxes[labelFontSize=scriptstyle]{->}(0,0)(3,3.5)[$x$,-90][$y$,0]
          psplot[linecolor=red,plotpoints=i]{0}{xl}{m}
          psplot[linecolor=red,plotpoints=i]{xr}{3}{m}
          psline[linestyle=dashed](1,0)(1,3)
          rput[t](2,3){$N=i$}
          end{pspicture}}
          end{document}


          enter image description here



          Final output



          documentclass[12pt,pstricks]{standalone}
          usepackage{pst-plot}
          defm{1/((x-1)^2)^(1/3)}
          defxl{3 -1.5 exp neg 1 add}
          defxr{3 -1.5 exp 1 add}
          begin{document}
          begin{pspicture}[algebraic](-.5,-.6)(4,4)
          psaxes[labelFontSize=scriptstyle]{->}(0,0)(3.5,3.5)[$x$,0][$y$,90]
          psplot[linecolor=red]{0}{xl}{m}
          psplot[linecolor=red]{xr}{3}{m}
          psline[linestyle=dashed](1,0)(1,3)
          end{pspicture}
          end{document}


          enter image description here



          My best practices




          • Split the graph into two or more invocation of psplot when there are discontinuities in a single plot.

          • Increasing plotpoints blindly will waste more storage because the size of PDF (or SVG) increases as well.

          • You don't need to change plotstyle most of the time.


          Explanation





          • defxl{3 -1.5 exp neg 1 add} is the value of xl<1 such that f(xl)=3.

          • defxr{3 -1.5 exp 1 add} is the value of xr>1 such that f(xr)=3.


          • plotstyle represents the type of curves is used to connect points.



          • plotpoints represents the number of points used to draw the curve.






          share|improve this answer



















          • 1




            Many compliments too for the animations.
            – Sebastiano
            Dec 1 at 13:02



















          2














          documentclass[pstricks]{standalone}
          usepackage{pst-plot}
          begin{document}

          begin{pspicture}(-1,-1)(3.5,3.5)
          psaxes[labelFontSize=scriptstyle]{->}(0,0)(3,3)[$x$,-90][$y$,0]
          psclip{psframe[linestyle=none](3,3)}
          psplot[ algebraic,linewidth=1.5pt,linecolor=red]{0}{3}{1/((x-1)^2)^(1/3)}
          endpsclip
          psline[linestyle=dashed](1,0)(1,3)
          end{pspicture}

          end{document}


          enter image description here






          share|improve this answer





















          • Can you explain the difference between them (my title) to me ? Herbert !
            – chishimotoji
            Dec 1 at 14:04












          • All curves are plotted by connecting points. With setting yMaxValue you have an internal if y > yMaxValue then do not plot. It depends to the number of points how near do you get with the calculated point to the maximal value. With clipping you have exactly the same y value. With plotpoints=5000 they are also nearly the same.
            – Herbert
            Dec 1 at 14:10












          • So, when should we use plotstyle replace plotpoints and opposite?
            – chishimotoji
            Dec 1 at 14:16










          • plotstyle=curve or bezier only for curves with continuous bends and plotpoints > 100. plotstyle=line for a lot of plotpoints and a curve which has not too big slopes. Howver, for plotpoints > 1000 it doesn't really matter which plotstyle do you use.
            – Herbert
            Dec 1 at 14:20












          • Why we use plotpoints > 500 will make file size bigger than plotstyle?
            – chishimotoji
            Dec 1 at 14:31











          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%2f462674%2fwhat-is-the-difference-between-plotstyle-curve-and-plotpoints-1000%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3














          The best way to explain is showing the animations, right?



          With curve plotstyle



          It needs at least 3 points. When N=2 there is no graph.



          documentclass[12pt,pstricks]{standalone}
          usepackage{pst-plot}
          defm{1/((x-1)^2)^(1/3)}
          defxl{3 -1.5 exp neg 1 add}
          defxr{3 -1.5 exp 1 add}
          begin{document}
          multido{i=2+1}{20}{%
          begin{pspicture}[algebraic,showpoints,plotstyle=curve](-1,-1)(3.5,4)
          psaxes[labelFontSize=scriptstyle]{->}(0,0)(3,3.5)[$x$,-90][$y$,0]
          psplot[linecolor=red,plotpoints=i]{0}{xl}{m}
          psplot[linecolor=red,plotpoints=i]{xr}{3}{m}
          psline[linestyle=dashed](1,0)(1,3)
          rput[t](2,3){$N=i$}
          end{pspicture}}
          end{document}


          enter image description here



          With line plotstyle



          It needs at least 2 points.



          documentclass[12pt,pstricks]{standalone}
          usepackage{pst-plot}
          defm{1/((x-1)^2)^(1/3)}
          defxl{3 -1.5 exp neg 1 add}
          defxr{3 -1.5 exp 1 add}
          begin{document}
          multido{i=2+1}{20}{%
          begin{pspicture}[algebraic,showpoints,plotstyle=line](-1,-1)(3.5,4)
          psaxes[labelFontSize=scriptstyle]{->}(0,0)(3,3.5)[$x$,-90][$y$,0]
          psplot[linecolor=red,plotpoints=i]{0}{xl}{m}
          psplot[linecolor=red,plotpoints=i]{xr}{3}{m}
          psline[linestyle=dashed](1,0)(1,3)
          rput[t](2,3){$N=i$}
          end{pspicture}}
          end{document}


          enter image description here



          Final output



          documentclass[12pt,pstricks]{standalone}
          usepackage{pst-plot}
          defm{1/((x-1)^2)^(1/3)}
          defxl{3 -1.5 exp neg 1 add}
          defxr{3 -1.5 exp 1 add}
          begin{document}
          begin{pspicture}[algebraic](-.5,-.6)(4,4)
          psaxes[labelFontSize=scriptstyle]{->}(0,0)(3.5,3.5)[$x$,0][$y$,90]
          psplot[linecolor=red]{0}{xl}{m}
          psplot[linecolor=red]{xr}{3}{m}
          psline[linestyle=dashed](1,0)(1,3)
          end{pspicture}
          end{document}


          enter image description here



          My best practices




          • Split the graph into two or more invocation of psplot when there are discontinuities in a single plot.

          • Increasing plotpoints blindly will waste more storage because the size of PDF (or SVG) increases as well.

          • You don't need to change plotstyle most of the time.


          Explanation





          • defxl{3 -1.5 exp neg 1 add} is the value of xl<1 such that f(xl)=3.

          • defxr{3 -1.5 exp 1 add} is the value of xr>1 such that f(xr)=3.


          • plotstyle represents the type of curves is used to connect points.



          • plotpoints represents the number of points used to draw the curve.






          share|improve this answer



















          • 1




            Many compliments too for the animations.
            – Sebastiano
            Dec 1 at 13:02
















          3














          The best way to explain is showing the animations, right?



          With curve plotstyle



          It needs at least 3 points. When N=2 there is no graph.



          documentclass[12pt,pstricks]{standalone}
          usepackage{pst-plot}
          defm{1/((x-1)^2)^(1/3)}
          defxl{3 -1.5 exp neg 1 add}
          defxr{3 -1.5 exp 1 add}
          begin{document}
          multido{i=2+1}{20}{%
          begin{pspicture}[algebraic,showpoints,plotstyle=curve](-1,-1)(3.5,4)
          psaxes[labelFontSize=scriptstyle]{->}(0,0)(3,3.5)[$x$,-90][$y$,0]
          psplot[linecolor=red,plotpoints=i]{0}{xl}{m}
          psplot[linecolor=red,plotpoints=i]{xr}{3}{m}
          psline[linestyle=dashed](1,0)(1,3)
          rput[t](2,3){$N=i$}
          end{pspicture}}
          end{document}


          enter image description here



          With line plotstyle



          It needs at least 2 points.



          documentclass[12pt,pstricks]{standalone}
          usepackage{pst-plot}
          defm{1/((x-1)^2)^(1/3)}
          defxl{3 -1.5 exp neg 1 add}
          defxr{3 -1.5 exp 1 add}
          begin{document}
          multido{i=2+1}{20}{%
          begin{pspicture}[algebraic,showpoints,plotstyle=line](-1,-1)(3.5,4)
          psaxes[labelFontSize=scriptstyle]{->}(0,0)(3,3.5)[$x$,-90][$y$,0]
          psplot[linecolor=red,plotpoints=i]{0}{xl}{m}
          psplot[linecolor=red,plotpoints=i]{xr}{3}{m}
          psline[linestyle=dashed](1,0)(1,3)
          rput[t](2,3){$N=i$}
          end{pspicture}}
          end{document}


          enter image description here



          Final output



          documentclass[12pt,pstricks]{standalone}
          usepackage{pst-plot}
          defm{1/((x-1)^2)^(1/3)}
          defxl{3 -1.5 exp neg 1 add}
          defxr{3 -1.5 exp 1 add}
          begin{document}
          begin{pspicture}[algebraic](-.5,-.6)(4,4)
          psaxes[labelFontSize=scriptstyle]{->}(0,0)(3.5,3.5)[$x$,0][$y$,90]
          psplot[linecolor=red]{0}{xl}{m}
          psplot[linecolor=red]{xr}{3}{m}
          psline[linestyle=dashed](1,0)(1,3)
          end{pspicture}
          end{document}


          enter image description here



          My best practices




          • Split the graph into two or more invocation of psplot when there are discontinuities in a single plot.

          • Increasing plotpoints blindly will waste more storage because the size of PDF (or SVG) increases as well.

          • You don't need to change plotstyle most of the time.


          Explanation





          • defxl{3 -1.5 exp neg 1 add} is the value of xl<1 such that f(xl)=3.

          • defxr{3 -1.5 exp 1 add} is the value of xr>1 such that f(xr)=3.


          • plotstyle represents the type of curves is used to connect points.



          • plotpoints represents the number of points used to draw the curve.






          share|improve this answer



















          • 1




            Many compliments too for the animations.
            – Sebastiano
            Dec 1 at 13:02














          3












          3








          3






          The best way to explain is showing the animations, right?



          With curve plotstyle



          It needs at least 3 points. When N=2 there is no graph.



          documentclass[12pt,pstricks]{standalone}
          usepackage{pst-plot}
          defm{1/((x-1)^2)^(1/3)}
          defxl{3 -1.5 exp neg 1 add}
          defxr{3 -1.5 exp 1 add}
          begin{document}
          multido{i=2+1}{20}{%
          begin{pspicture}[algebraic,showpoints,plotstyle=curve](-1,-1)(3.5,4)
          psaxes[labelFontSize=scriptstyle]{->}(0,0)(3,3.5)[$x$,-90][$y$,0]
          psplot[linecolor=red,plotpoints=i]{0}{xl}{m}
          psplot[linecolor=red,plotpoints=i]{xr}{3}{m}
          psline[linestyle=dashed](1,0)(1,3)
          rput[t](2,3){$N=i$}
          end{pspicture}}
          end{document}


          enter image description here



          With line plotstyle



          It needs at least 2 points.



          documentclass[12pt,pstricks]{standalone}
          usepackage{pst-plot}
          defm{1/((x-1)^2)^(1/3)}
          defxl{3 -1.5 exp neg 1 add}
          defxr{3 -1.5 exp 1 add}
          begin{document}
          multido{i=2+1}{20}{%
          begin{pspicture}[algebraic,showpoints,plotstyle=line](-1,-1)(3.5,4)
          psaxes[labelFontSize=scriptstyle]{->}(0,0)(3,3.5)[$x$,-90][$y$,0]
          psplot[linecolor=red,plotpoints=i]{0}{xl}{m}
          psplot[linecolor=red,plotpoints=i]{xr}{3}{m}
          psline[linestyle=dashed](1,0)(1,3)
          rput[t](2,3){$N=i$}
          end{pspicture}}
          end{document}


          enter image description here



          Final output



          documentclass[12pt,pstricks]{standalone}
          usepackage{pst-plot}
          defm{1/((x-1)^2)^(1/3)}
          defxl{3 -1.5 exp neg 1 add}
          defxr{3 -1.5 exp 1 add}
          begin{document}
          begin{pspicture}[algebraic](-.5,-.6)(4,4)
          psaxes[labelFontSize=scriptstyle]{->}(0,0)(3.5,3.5)[$x$,0][$y$,90]
          psplot[linecolor=red]{0}{xl}{m}
          psplot[linecolor=red]{xr}{3}{m}
          psline[linestyle=dashed](1,0)(1,3)
          end{pspicture}
          end{document}


          enter image description here



          My best practices




          • Split the graph into two or more invocation of psplot when there are discontinuities in a single plot.

          • Increasing plotpoints blindly will waste more storage because the size of PDF (or SVG) increases as well.

          • You don't need to change plotstyle most of the time.


          Explanation





          • defxl{3 -1.5 exp neg 1 add} is the value of xl<1 such that f(xl)=3.

          • defxr{3 -1.5 exp 1 add} is the value of xr>1 such that f(xr)=3.


          • plotstyle represents the type of curves is used to connect points.



          • plotpoints represents the number of points used to draw the curve.






          share|improve this answer














          The best way to explain is showing the animations, right?



          With curve plotstyle



          It needs at least 3 points. When N=2 there is no graph.



          documentclass[12pt,pstricks]{standalone}
          usepackage{pst-plot}
          defm{1/((x-1)^2)^(1/3)}
          defxl{3 -1.5 exp neg 1 add}
          defxr{3 -1.5 exp 1 add}
          begin{document}
          multido{i=2+1}{20}{%
          begin{pspicture}[algebraic,showpoints,plotstyle=curve](-1,-1)(3.5,4)
          psaxes[labelFontSize=scriptstyle]{->}(0,0)(3,3.5)[$x$,-90][$y$,0]
          psplot[linecolor=red,plotpoints=i]{0}{xl}{m}
          psplot[linecolor=red,plotpoints=i]{xr}{3}{m}
          psline[linestyle=dashed](1,0)(1,3)
          rput[t](2,3){$N=i$}
          end{pspicture}}
          end{document}


          enter image description here



          With line plotstyle



          It needs at least 2 points.



          documentclass[12pt,pstricks]{standalone}
          usepackage{pst-plot}
          defm{1/((x-1)^2)^(1/3)}
          defxl{3 -1.5 exp neg 1 add}
          defxr{3 -1.5 exp 1 add}
          begin{document}
          multido{i=2+1}{20}{%
          begin{pspicture}[algebraic,showpoints,plotstyle=line](-1,-1)(3.5,4)
          psaxes[labelFontSize=scriptstyle]{->}(0,0)(3,3.5)[$x$,-90][$y$,0]
          psplot[linecolor=red,plotpoints=i]{0}{xl}{m}
          psplot[linecolor=red,plotpoints=i]{xr}{3}{m}
          psline[linestyle=dashed](1,0)(1,3)
          rput[t](2,3){$N=i$}
          end{pspicture}}
          end{document}


          enter image description here



          Final output



          documentclass[12pt,pstricks]{standalone}
          usepackage{pst-plot}
          defm{1/((x-1)^2)^(1/3)}
          defxl{3 -1.5 exp neg 1 add}
          defxr{3 -1.5 exp 1 add}
          begin{document}
          begin{pspicture}[algebraic](-.5,-.6)(4,4)
          psaxes[labelFontSize=scriptstyle]{->}(0,0)(3.5,3.5)[$x$,0][$y$,90]
          psplot[linecolor=red]{0}{xl}{m}
          psplot[linecolor=red]{xr}{3}{m}
          psline[linestyle=dashed](1,0)(1,3)
          end{pspicture}
          end{document}


          enter image description here



          My best practices




          • Split the graph into two or more invocation of psplot when there are discontinuities in a single plot.

          • Increasing plotpoints blindly will waste more storage because the size of PDF (or SVG) increases as well.

          • You don't need to change plotstyle most of the time.


          Explanation





          • defxl{3 -1.5 exp neg 1 add} is the value of xl<1 such that f(xl)=3.

          • defxr{3 -1.5 exp 1 add} is the value of xr>1 such that f(xr)=3.


          • plotstyle represents the type of curves is used to connect points.



          • plotpoints represents the number of points used to draw the curve.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Dec 1 at 14:11

























          answered Dec 1 at 12:03









          Artificial Stupidity

          5,29011039




          5,29011039








          • 1




            Many compliments too for the animations.
            – Sebastiano
            Dec 1 at 13:02














          • 1




            Many compliments too for the animations.
            – Sebastiano
            Dec 1 at 13:02








          1




          1




          Many compliments too for the animations.
          – Sebastiano
          Dec 1 at 13:02




          Many compliments too for the animations.
          – Sebastiano
          Dec 1 at 13:02











          2














          documentclass[pstricks]{standalone}
          usepackage{pst-plot}
          begin{document}

          begin{pspicture}(-1,-1)(3.5,3.5)
          psaxes[labelFontSize=scriptstyle]{->}(0,0)(3,3)[$x$,-90][$y$,0]
          psclip{psframe[linestyle=none](3,3)}
          psplot[ algebraic,linewidth=1.5pt,linecolor=red]{0}{3}{1/((x-1)^2)^(1/3)}
          endpsclip
          psline[linestyle=dashed](1,0)(1,3)
          end{pspicture}

          end{document}


          enter image description here






          share|improve this answer





















          • Can you explain the difference between them (my title) to me ? Herbert !
            – chishimotoji
            Dec 1 at 14:04












          • All curves are plotted by connecting points. With setting yMaxValue you have an internal if y > yMaxValue then do not plot. It depends to the number of points how near do you get with the calculated point to the maximal value. With clipping you have exactly the same y value. With plotpoints=5000 they are also nearly the same.
            – Herbert
            Dec 1 at 14:10












          • So, when should we use plotstyle replace plotpoints and opposite?
            – chishimotoji
            Dec 1 at 14:16










          • plotstyle=curve or bezier only for curves with continuous bends and plotpoints > 100. plotstyle=line for a lot of plotpoints and a curve which has not too big slopes. Howver, for plotpoints > 1000 it doesn't really matter which plotstyle do you use.
            – Herbert
            Dec 1 at 14:20












          • Why we use plotpoints > 500 will make file size bigger than plotstyle?
            – chishimotoji
            Dec 1 at 14:31
















          2














          documentclass[pstricks]{standalone}
          usepackage{pst-plot}
          begin{document}

          begin{pspicture}(-1,-1)(3.5,3.5)
          psaxes[labelFontSize=scriptstyle]{->}(0,0)(3,3)[$x$,-90][$y$,0]
          psclip{psframe[linestyle=none](3,3)}
          psplot[ algebraic,linewidth=1.5pt,linecolor=red]{0}{3}{1/((x-1)^2)^(1/3)}
          endpsclip
          psline[linestyle=dashed](1,0)(1,3)
          end{pspicture}

          end{document}


          enter image description here






          share|improve this answer





















          • Can you explain the difference between them (my title) to me ? Herbert !
            – chishimotoji
            Dec 1 at 14:04












          • All curves are plotted by connecting points. With setting yMaxValue you have an internal if y > yMaxValue then do not plot. It depends to the number of points how near do you get with the calculated point to the maximal value. With clipping you have exactly the same y value. With plotpoints=5000 they are also nearly the same.
            – Herbert
            Dec 1 at 14:10












          • So, when should we use plotstyle replace plotpoints and opposite?
            – chishimotoji
            Dec 1 at 14:16










          • plotstyle=curve or bezier only for curves with continuous bends and plotpoints > 100. plotstyle=line for a lot of plotpoints and a curve which has not too big slopes. Howver, for plotpoints > 1000 it doesn't really matter which plotstyle do you use.
            – Herbert
            Dec 1 at 14:20












          • Why we use plotpoints > 500 will make file size bigger than plotstyle?
            – chishimotoji
            Dec 1 at 14:31














          2












          2








          2






          documentclass[pstricks]{standalone}
          usepackage{pst-plot}
          begin{document}

          begin{pspicture}(-1,-1)(3.5,3.5)
          psaxes[labelFontSize=scriptstyle]{->}(0,0)(3,3)[$x$,-90][$y$,0]
          psclip{psframe[linestyle=none](3,3)}
          psplot[ algebraic,linewidth=1.5pt,linecolor=red]{0}{3}{1/((x-1)^2)^(1/3)}
          endpsclip
          psline[linestyle=dashed](1,0)(1,3)
          end{pspicture}

          end{document}


          enter image description here






          share|improve this answer












          documentclass[pstricks]{standalone}
          usepackage{pst-plot}
          begin{document}

          begin{pspicture}(-1,-1)(3.5,3.5)
          psaxes[labelFontSize=scriptstyle]{->}(0,0)(3,3)[$x$,-90][$y$,0]
          psclip{psframe[linestyle=none](3,3)}
          psplot[ algebraic,linewidth=1.5pt,linecolor=red]{0}{3}{1/((x-1)^2)^(1/3)}
          endpsclip
          psline[linestyle=dashed](1,0)(1,3)
          end{pspicture}

          end{document}


          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 1 at 14:01









          Herbert

          268k23407716




          268k23407716












          • Can you explain the difference between them (my title) to me ? Herbert !
            – chishimotoji
            Dec 1 at 14:04












          • All curves are plotted by connecting points. With setting yMaxValue you have an internal if y > yMaxValue then do not plot. It depends to the number of points how near do you get with the calculated point to the maximal value. With clipping you have exactly the same y value. With plotpoints=5000 they are also nearly the same.
            – Herbert
            Dec 1 at 14:10












          • So, when should we use plotstyle replace plotpoints and opposite?
            – chishimotoji
            Dec 1 at 14:16










          • plotstyle=curve or bezier only for curves with continuous bends and plotpoints > 100. plotstyle=line for a lot of plotpoints and a curve which has not too big slopes. Howver, for plotpoints > 1000 it doesn't really matter which plotstyle do you use.
            – Herbert
            Dec 1 at 14:20












          • Why we use plotpoints > 500 will make file size bigger than plotstyle?
            – chishimotoji
            Dec 1 at 14:31


















          • Can you explain the difference between them (my title) to me ? Herbert !
            – chishimotoji
            Dec 1 at 14:04












          • All curves are plotted by connecting points. With setting yMaxValue you have an internal if y > yMaxValue then do not plot. It depends to the number of points how near do you get with the calculated point to the maximal value. With clipping you have exactly the same y value. With plotpoints=5000 they are also nearly the same.
            – Herbert
            Dec 1 at 14:10












          • So, when should we use plotstyle replace plotpoints and opposite?
            – chishimotoji
            Dec 1 at 14:16










          • plotstyle=curve or bezier only for curves with continuous bends and plotpoints > 100. plotstyle=line for a lot of plotpoints and a curve which has not too big slopes. Howver, for plotpoints > 1000 it doesn't really matter which plotstyle do you use.
            – Herbert
            Dec 1 at 14:20












          • Why we use plotpoints > 500 will make file size bigger than plotstyle?
            – chishimotoji
            Dec 1 at 14:31
















          Can you explain the difference between them (my title) to me ? Herbert !
          – chishimotoji
          Dec 1 at 14:04






          Can you explain the difference between them (my title) to me ? Herbert !
          – chishimotoji
          Dec 1 at 14:04














          All curves are plotted by connecting points. With setting yMaxValue you have an internal if y > yMaxValue then do not plot. It depends to the number of points how near do you get with the calculated point to the maximal value. With clipping you have exactly the same y value. With plotpoints=5000 they are also nearly the same.
          – Herbert
          Dec 1 at 14:10






          All curves are plotted by connecting points. With setting yMaxValue you have an internal if y > yMaxValue then do not plot. It depends to the number of points how near do you get with the calculated point to the maximal value. With clipping you have exactly the same y value. With plotpoints=5000 they are also nearly the same.
          – Herbert
          Dec 1 at 14:10














          So, when should we use plotstyle replace plotpoints and opposite?
          – chishimotoji
          Dec 1 at 14:16




          So, when should we use plotstyle replace plotpoints and opposite?
          – chishimotoji
          Dec 1 at 14:16












          plotstyle=curve or bezier only for curves with continuous bends and plotpoints > 100. plotstyle=line for a lot of plotpoints and a curve which has not too big slopes. Howver, for plotpoints > 1000 it doesn't really matter which plotstyle do you use.
          – Herbert
          Dec 1 at 14:20






          plotstyle=curve or bezier only for curves with continuous bends and plotpoints > 100. plotstyle=line for a lot of plotpoints and a curve which has not too big slopes. Howver, for plotpoints > 1000 it doesn't really matter which plotstyle do you use.
          – Herbert
          Dec 1 at 14:20














          Why we use plotpoints > 500 will make file size bigger than plotstyle?
          – chishimotoji
          Dec 1 at 14:31




          Why we use plotpoints > 500 will make file size bigger than plotstyle?
          – chishimotoji
          Dec 1 at 14:31


















          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%2f462674%2fwhat-is-the-difference-between-plotstyle-curve-and-plotpoints-1000%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

          Plaza Victoria

          Puebla de Zaragoza

          Musa