Increase thickness of graph lines larger than ultra thick












8















I have a beamer presentation with some pgfplots graphs and want to increase their thickness. I found this answer How to increase the thickness of the graph lines and remove the point?, but I found ultra thick not thick enough and I do not have enough rep. to comment.



My question is: is there a way to increase the thickness of graph lines to obtain lines larger than with the ultra thick option?



documentclass[10pt]{beamer}

usetheme[progressbar=frametitle, background=dark]{metropolis}
usepackage{appendixnumberbeamer}

usepackage{pgfplots}

usepackage{xspace}
newcommand{themename}{textbf{textsc{metropolis}}xspace}

usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage[english]{babel}

usepackage{amsmath}
usepackage{amssymb}
usepackage{subcaption}
usepackage{tikz}

pgfplotsset{compat=1.8}
usepgfplotslibrary{statistics}

definecolor{darkgreen}{rgb}{0.05,0.5,0.}
definecolor{lightgray}{RGB}{50, 60, 60}
definecolor{pitchblack}{RGB}{0, 0, 0}
definecolor{lightbeige}{RGB}{255, 251, 241}
definecolor{mediumgray}{RGB}{200, 200, 200}

setbeamercolor{background canvas}{bg=pitchblack}
setbeamercolor{normal text}{fg=lightbeige}
setbeamercolor{frametitle}{bg=lightgray, fg=mediumgray}

begin{document}

begin{frame}[fragile]
frametitle{Details}

begin{tikzpicture}[>=latex, scale=0.5]
begin{axis}[
name=ax1,
legend entries={AAA, BBB, CCC, DDD},
legend style={at={(1.12,-0.55)},anchor=south, fill=black, font=Large},
ymode = log,
width={linewidth},
xtick={0,500,...,3000},
xlabel={{XXX}},
ylabel={{YYY}},
x label style={at={(axis description cs:0.5,-0.08)},anchor=north, font=Large},
y label style={at={(axis description cs:0,1.03)},rotate=-90,anchor=south, font=Large},
xmin= 100,
xmax=3000,
ymin=500,
ymax=25000,
every axis plot/.append style={ultra thick}
]

addplot+ [mark=*, mark options={scale=.5}] table {
186 3153
218 2906
492 1573
678 1253
1082 1020
1609 881
2184 695
3957 480
};

addplot+ [mark=*, mark options={scale=.5}] table {
193 3464
279 2684
514 1576
810 1218
1245 1007
1827 883
2826 707
5429 508
};

addplot+ [mark=star, mark options={scale=.5}, color=darkgreen] table {
186 29407
218 26208
492 18350
678 14339
1082 13045
1609 8245
2184 6257
3957 3934
};

addplot+ [mark=star, mark options={scale=.5}, white] table {
186 28637
218 25286
492 17667
678 13855
1082 12837
1609 7909
2184 5904
3957 3806
};
legend{}
end{axis}

end{tikzpicture}

end{frame}

end{document}









share|improve this question



























    8















    I have a beamer presentation with some pgfplots graphs and want to increase their thickness. I found this answer How to increase the thickness of the graph lines and remove the point?, but I found ultra thick not thick enough and I do not have enough rep. to comment.



    My question is: is there a way to increase the thickness of graph lines to obtain lines larger than with the ultra thick option?



    documentclass[10pt]{beamer}

    usetheme[progressbar=frametitle, background=dark]{metropolis}
    usepackage{appendixnumberbeamer}

    usepackage{pgfplots}

    usepackage{xspace}
    newcommand{themename}{textbf{textsc{metropolis}}xspace}

    usepackage[T1]{fontenc}
    usepackage[utf8]{inputenc}
    usepackage[english]{babel}

    usepackage{amsmath}
    usepackage{amssymb}
    usepackage{subcaption}
    usepackage{tikz}

    pgfplotsset{compat=1.8}
    usepgfplotslibrary{statistics}

    definecolor{darkgreen}{rgb}{0.05,0.5,0.}
    definecolor{lightgray}{RGB}{50, 60, 60}
    definecolor{pitchblack}{RGB}{0, 0, 0}
    definecolor{lightbeige}{RGB}{255, 251, 241}
    definecolor{mediumgray}{RGB}{200, 200, 200}

    setbeamercolor{background canvas}{bg=pitchblack}
    setbeamercolor{normal text}{fg=lightbeige}
    setbeamercolor{frametitle}{bg=lightgray, fg=mediumgray}

    begin{document}

    begin{frame}[fragile]
    frametitle{Details}

    begin{tikzpicture}[>=latex, scale=0.5]
    begin{axis}[
    name=ax1,
    legend entries={AAA, BBB, CCC, DDD},
    legend style={at={(1.12,-0.55)},anchor=south, fill=black, font=Large},
    ymode = log,
    width={linewidth},
    xtick={0,500,...,3000},
    xlabel={{XXX}},
    ylabel={{YYY}},
    x label style={at={(axis description cs:0.5,-0.08)},anchor=north, font=Large},
    y label style={at={(axis description cs:0,1.03)},rotate=-90,anchor=south, font=Large},
    xmin= 100,
    xmax=3000,
    ymin=500,
    ymax=25000,
    every axis plot/.append style={ultra thick}
    ]

    addplot+ [mark=*, mark options={scale=.5}] table {
    186 3153
    218 2906
    492 1573
    678 1253
    1082 1020
    1609 881
    2184 695
    3957 480
    };

    addplot+ [mark=*, mark options={scale=.5}] table {
    193 3464
    279 2684
    514 1576
    810 1218
    1245 1007
    1827 883
    2826 707
    5429 508
    };

    addplot+ [mark=star, mark options={scale=.5}, color=darkgreen] table {
    186 29407
    218 26208
    492 18350
    678 14339
    1082 13045
    1609 8245
    2184 6257
    3957 3934
    };

    addplot+ [mark=star, mark options={scale=.5}, white] table {
    186 28637
    218 25286
    492 17667
    678 13855
    1082 12837
    1609 7909
    2184 5904
    3957 3806
    };
    legend{}
    end{axis}

    end{tikzpicture}

    end{frame}

    end{document}









    share|improve this question

























      8












      8








      8








      I have a beamer presentation with some pgfplots graphs and want to increase their thickness. I found this answer How to increase the thickness of the graph lines and remove the point?, but I found ultra thick not thick enough and I do not have enough rep. to comment.



      My question is: is there a way to increase the thickness of graph lines to obtain lines larger than with the ultra thick option?



      documentclass[10pt]{beamer}

      usetheme[progressbar=frametitle, background=dark]{metropolis}
      usepackage{appendixnumberbeamer}

      usepackage{pgfplots}

      usepackage{xspace}
      newcommand{themename}{textbf{textsc{metropolis}}xspace}

      usepackage[T1]{fontenc}
      usepackage[utf8]{inputenc}
      usepackage[english]{babel}

      usepackage{amsmath}
      usepackage{amssymb}
      usepackage{subcaption}
      usepackage{tikz}

      pgfplotsset{compat=1.8}
      usepgfplotslibrary{statistics}

      definecolor{darkgreen}{rgb}{0.05,0.5,0.}
      definecolor{lightgray}{RGB}{50, 60, 60}
      definecolor{pitchblack}{RGB}{0, 0, 0}
      definecolor{lightbeige}{RGB}{255, 251, 241}
      definecolor{mediumgray}{RGB}{200, 200, 200}

      setbeamercolor{background canvas}{bg=pitchblack}
      setbeamercolor{normal text}{fg=lightbeige}
      setbeamercolor{frametitle}{bg=lightgray, fg=mediumgray}

      begin{document}

      begin{frame}[fragile]
      frametitle{Details}

      begin{tikzpicture}[>=latex, scale=0.5]
      begin{axis}[
      name=ax1,
      legend entries={AAA, BBB, CCC, DDD},
      legend style={at={(1.12,-0.55)},anchor=south, fill=black, font=Large},
      ymode = log,
      width={linewidth},
      xtick={0,500,...,3000},
      xlabel={{XXX}},
      ylabel={{YYY}},
      x label style={at={(axis description cs:0.5,-0.08)},anchor=north, font=Large},
      y label style={at={(axis description cs:0,1.03)},rotate=-90,anchor=south, font=Large},
      xmin= 100,
      xmax=3000,
      ymin=500,
      ymax=25000,
      every axis plot/.append style={ultra thick}
      ]

      addplot+ [mark=*, mark options={scale=.5}] table {
      186 3153
      218 2906
      492 1573
      678 1253
      1082 1020
      1609 881
      2184 695
      3957 480
      };

      addplot+ [mark=*, mark options={scale=.5}] table {
      193 3464
      279 2684
      514 1576
      810 1218
      1245 1007
      1827 883
      2826 707
      5429 508
      };

      addplot+ [mark=star, mark options={scale=.5}, color=darkgreen] table {
      186 29407
      218 26208
      492 18350
      678 14339
      1082 13045
      1609 8245
      2184 6257
      3957 3934
      };

      addplot+ [mark=star, mark options={scale=.5}, white] table {
      186 28637
      218 25286
      492 17667
      678 13855
      1082 12837
      1609 7909
      2184 5904
      3957 3806
      };
      legend{}
      end{axis}

      end{tikzpicture}

      end{frame}

      end{document}









      share|improve this question














      I have a beamer presentation with some pgfplots graphs and want to increase their thickness. I found this answer How to increase the thickness of the graph lines and remove the point?, but I found ultra thick not thick enough and I do not have enough rep. to comment.



      My question is: is there a way to increase the thickness of graph lines to obtain lines larger than with the ultra thick option?



      documentclass[10pt]{beamer}

      usetheme[progressbar=frametitle, background=dark]{metropolis}
      usepackage{appendixnumberbeamer}

      usepackage{pgfplots}

      usepackage{xspace}
      newcommand{themename}{textbf{textsc{metropolis}}xspace}

      usepackage[T1]{fontenc}
      usepackage[utf8]{inputenc}
      usepackage[english]{babel}

      usepackage{amsmath}
      usepackage{amssymb}
      usepackage{subcaption}
      usepackage{tikz}

      pgfplotsset{compat=1.8}
      usepgfplotslibrary{statistics}

      definecolor{darkgreen}{rgb}{0.05,0.5,0.}
      definecolor{lightgray}{RGB}{50, 60, 60}
      definecolor{pitchblack}{RGB}{0, 0, 0}
      definecolor{lightbeige}{RGB}{255, 251, 241}
      definecolor{mediumgray}{RGB}{200, 200, 200}

      setbeamercolor{background canvas}{bg=pitchblack}
      setbeamercolor{normal text}{fg=lightbeige}
      setbeamercolor{frametitle}{bg=lightgray, fg=mediumgray}

      begin{document}

      begin{frame}[fragile]
      frametitle{Details}

      begin{tikzpicture}[>=latex, scale=0.5]
      begin{axis}[
      name=ax1,
      legend entries={AAA, BBB, CCC, DDD},
      legend style={at={(1.12,-0.55)},anchor=south, fill=black, font=Large},
      ymode = log,
      width={linewidth},
      xtick={0,500,...,3000},
      xlabel={{XXX}},
      ylabel={{YYY}},
      x label style={at={(axis description cs:0.5,-0.08)},anchor=north, font=Large},
      y label style={at={(axis description cs:0,1.03)},rotate=-90,anchor=south, font=Large},
      xmin= 100,
      xmax=3000,
      ymin=500,
      ymax=25000,
      every axis plot/.append style={ultra thick}
      ]

      addplot+ [mark=*, mark options={scale=.5}] table {
      186 3153
      218 2906
      492 1573
      678 1253
      1082 1020
      1609 881
      2184 695
      3957 480
      };

      addplot+ [mark=*, mark options={scale=.5}] table {
      193 3464
      279 2684
      514 1576
      810 1218
      1245 1007
      1827 883
      2826 707
      5429 508
      };

      addplot+ [mark=star, mark options={scale=.5}, color=darkgreen] table {
      186 29407
      218 26208
      492 18350
      678 14339
      1082 13045
      1609 8245
      2184 6257
      3957 3934
      };

      addplot+ [mark=star, mark options={scale=.5}, white] table {
      186 28637
      218 25286
      492 17667
      678 13855
      1082 12837
      1609 7909
      2184 5904
      3957 3806
      };
      legend{}
      end{axis}

      end{tikzpicture}

      end{frame}

      end{document}






      tikz-pgf beamer pgfplots beamer-metropolis






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 14 hours ago









      belitdbelitd

      704




      704






















          1 Answer
          1






          active

          oldest

          votes


















          10














          Using line width option would do the job.



          documentclass[tikz]{standalone}
          RequirePackage{pgfplots}
          begin{document}
          begin{tikzpicture}
          begin{axis}
          addplot+[ultra thick, , mark=none] coordinates {(0,1.5) (1,1.5)};
          addplot+[line width=10pt, mark=none] coordinates {(0,0.5) (1,0.5)};
          end{axis}
          end{tikzpicture}

          end{document}


          to get:



          enter image description here






          share|improve this answer


























          • wow thank you, I didn't thought it was that simple!

            – belitd
            13 hours ago











          • @belitd if you find the answer useful, consider accepting it. And, you are welcome!

            – Raaja
            13 hours ago








          • 1





            of course, bu I need to wait 3 minutes ^^

            – belitd
            13 hours ago






          • 3





            @belitd Didnt knew of such a constraint :D sorry.

            – Raaja
            13 hours ago











          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%2f479583%2fincrease-thickness-of-graph-lines-larger-than-ultra-thick%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









          10














          Using line width option would do the job.



          documentclass[tikz]{standalone}
          RequirePackage{pgfplots}
          begin{document}
          begin{tikzpicture}
          begin{axis}
          addplot+[ultra thick, , mark=none] coordinates {(0,1.5) (1,1.5)};
          addplot+[line width=10pt, mark=none] coordinates {(0,0.5) (1,0.5)};
          end{axis}
          end{tikzpicture}

          end{document}


          to get:



          enter image description here






          share|improve this answer


























          • wow thank you, I didn't thought it was that simple!

            – belitd
            13 hours ago











          • @belitd if you find the answer useful, consider accepting it. And, you are welcome!

            – Raaja
            13 hours ago








          • 1





            of course, bu I need to wait 3 minutes ^^

            – belitd
            13 hours ago






          • 3





            @belitd Didnt knew of such a constraint :D sorry.

            – Raaja
            13 hours ago
















          10














          Using line width option would do the job.



          documentclass[tikz]{standalone}
          RequirePackage{pgfplots}
          begin{document}
          begin{tikzpicture}
          begin{axis}
          addplot+[ultra thick, , mark=none] coordinates {(0,1.5) (1,1.5)};
          addplot+[line width=10pt, mark=none] coordinates {(0,0.5) (1,0.5)};
          end{axis}
          end{tikzpicture}

          end{document}


          to get:



          enter image description here






          share|improve this answer


























          • wow thank you, I didn't thought it was that simple!

            – belitd
            13 hours ago











          • @belitd if you find the answer useful, consider accepting it. And, you are welcome!

            – Raaja
            13 hours ago








          • 1





            of course, bu I need to wait 3 minutes ^^

            – belitd
            13 hours ago






          • 3





            @belitd Didnt knew of such a constraint :D sorry.

            – Raaja
            13 hours ago














          10












          10








          10







          Using line width option would do the job.



          documentclass[tikz]{standalone}
          RequirePackage{pgfplots}
          begin{document}
          begin{tikzpicture}
          begin{axis}
          addplot+[ultra thick, , mark=none] coordinates {(0,1.5) (1,1.5)};
          addplot+[line width=10pt, mark=none] coordinates {(0,0.5) (1,0.5)};
          end{axis}
          end{tikzpicture}

          end{document}


          to get:



          enter image description here






          share|improve this answer















          Using line width option would do the job.



          documentclass[tikz]{standalone}
          RequirePackage{pgfplots}
          begin{document}
          begin{tikzpicture}
          begin{axis}
          addplot+[ultra thick, , mark=none] coordinates {(0,1.5) (1,1.5)};
          addplot+[line width=10pt, mark=none] coordinates {(0,0.5) (1,0.5)};
          end{axis}
          end{tikzpicture}

          end{document}


          to get:



          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 9 hours ago









          marmot

          108k5133251




          108k5133251










          answered 14 hours ago









          RaajaRaaja

          4,98421442




          4,98421442













          • wow thank you, I didn't thought it was that simple!

            – belitd
            13 hours ago











          • @belitd if you find the answer useful, consider accepting it. And, you are welcome!

            – Raaja
            13 hours ago








          • 1





            of course, bu I need to wait 3 minutes ^^

            – belitd
            13 hours ago






          • 3





            @belitd Didnt knew of such a constraint :D sorry.

            – Raaja
            13 hours ago



















          • wow thank you, I didn't thought it was that simple!

            – belitd
            13 hours ago











          • @belitd if you find the answer useful, consider accepting it. And, you are welcome!

            – Raaja
            13 hours ago








          • 1





            of course, bu I need to wait 3 minutes ^^

            – belitd
            13 hours ago






          • 3





            @belitd Didnt knew of such a constraint :D sorry.

            – Raaja
            13 hours ago

















          wow thank you, I didn't thought it was that simple!

          – belitd
          13 hours ago





          wow thank you, I didn't thought it was that simple!

          – belitd
          13 hours ago













          @belitd if you find the answer useful, consider accepting it. And, you are welcome!

          – Raaja
          13 hours ago







          @belitd if you find the answer useful, consider accepting it. And, you are welcome!

          – Raaja
          13 hours ago






          1




          1





          of course, bu I need to wait 3 minutes ^^

          – belitd
          13 hours ago





          of course, bu I need to wait 3 minutes ^^

          – belitd
          13 hours ago




          3




          3





          @belitd Didnt knew of such a constraint :D sorry.

          – Raaja
          13 hours ago





          @belitd Didnt knew of such a constraint :D sorry.

          – Raaja
          13 hours ago


















          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%2f479583%2fincrease-thickness-of-graph-lines-larger-than-ultra-thick%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

          Category:香港粉麵

          List *all* the tuples!

          Channel [V]