Adjusting TikZ Figure












1














I use following script (see also here) below, to draw this figure:



enter image description here



documentclass{article}
usepackage{pgfplots}
usepackage{pgfplotstable}
usepackage{tikz}
usetikzlibrary{positioning}
begin{document}
begin{tikzpicture}
begin{axis}[
width=14cm,
height=7cm,
enlargelimits=false,
axis x line=bottom,
axis y line=right,
axis line style={-},
tickwidth=2pt,
domain=-3:3,
xtick={-3,-2,-1,0,1},
xticklabels={
Innovators 2.5%,
Early Adopters 13.5%,
Early Majority 34%,
Late Majority 34%,
Laggards 16%,
},
x tick label style={rotate=45,anchor=east},
ylabel={Market share %},
ytick={0,25,50,75,100},
ymin=0, ymax=110,
samples=51, smooth, no markers,
]

addplot+[blue,very thick] {50*exp(-.5*x^2)};

addplot+[red,very thick] {100 / (1 + exp(-2*x))};

pgfplotsinvokeforeach{-3,...,1} {
draw[help lines] (axis cs:#1,{50*exp(-.5*(#1)^2)}) -- (axis cs:#1,0);
}

end{axis}
end{tikzpicture}
end{document}


I tried to put a line-break to the x-axis descriptions:



xticklabels={
Innovators \ 2.5%,
Early Adopters \ 13.5%,
Early Majority \ 34%,
Late Majority \ 34%,
Laggards \ 16%,
},


However, this didn't change the plot. Secondly, I also like to add a semi-transparent box with a description behind the graph.



enter image description here



Questions:




  1. How can I add a line break, so that the percentage numbers are in a
    new line?

  2. How can I add a description box, as described?


Thanks for your help!










share|improve this question



























    1














    I use following script (see also here) below, to draw this figure:



    enter image description here



    documentclass{article}
    usepackage{pgfplots}
    usepackage{pgfplotstable}
    usepackage{tikz}
    usetikzlibrary{positioning}
    begin{document}
    begin{tikzpicture}
    begin{axis}[
    width=14cm,
    height=7cm,
    enlargelimits=false,
    axis x line=bottom,
    axis y line=right,
    axis line style={-},
    tickwidth=2pt,
    domain=-3:3,
    xtick={-3,-2,-1,0,1},
    xticklabels={
    Innovators 2.5%,
    Early Adopters 13.5%,
    Early Majority 34%,
    Late Majority 34%,
    Laggards 16%,
    },
    x tick label style={rotate=45,anchor=east},
    ylabel={Market share %},
    ytick={0,25,50,75,100},
    ymin=0, ymax=110,
    samples=51, smooth, no markers,
    ]

    addplot+[blue,very thick] {50*exp(-.5*x^2)};

    addplot+[red,very thick] {100 / (1 + exp(-2*x))};

    pgfplotsinvokeforeach{-3,...,1} {
    draw[help lines] (axis cs:#1,{50*exp(-.5*(#1)^2)}) -- (axis cs:#1,0);
    }

    end{axis}
    end{tikzpicture}
    end{document}


    I tried to put a line-break to the x-axis descriptions:



    xticklabels={
    Innovators \ 2.5%,
    Early Adopters \ 13.5%,
    Early Majority \ 34%,
    Late Majority \ 34%,
    Laggards \ 16%,
    },


    However, this didn't change the plot. Secondly, I also like to add a semi-transparent box with a description behind the graph.



    enter image description here



    Questions:




    1. How can I add a line break, so that the percentage numbers are in a
      new line?

    2. How can I add a description box, as described?


    Thanks for your help!










    share|improve this question

























      1












      1








      1







      I use following script (see also here) below, to draw this figure:



      enter image description here



      documentclass{article}
      usepackage{pgfplots}
      usepackage{pgfplotstable}
      usepackage{tikz}
      usetikzlibrary{positioning}
      begin{document}
      begin{tikzpicture}
      begin{axis}[
      width=14cm,
      height=7cm,
      enlargelimits=false,
      axis x line=bottom,
      axis y line=right,
      axis line style={-},
      tickwidth=2pt,
      domain=-3:3,
      xtick={-3,-2,-1,0,1},
      xticklabels={
      Innovators 2.5%,
      Early Adopters 13.5%,
      Early Majority 34%,
      Late Majority 34%,
      Laggards 16%,
      },
      x tick label style={rotate=45,anchor=east},
      ylabel={Market share %},
      ytick={0,25,50,75,100},
      ymin=0, ymax=110,
      samples=51, smooth, no markers,
      ]

      addplot+[blue,very thick] {50*exp(-.5*x^2)};

      addplot+[red,very thick] {100 / (1 + exp(-2*x))};

      pgfplotsinvokeforeach{-3,...,1} {
      draw[help lines] (axis cs:#1,{50*exp(-.5*(#1)^2)}) -- (axis cs:#1,0);
      }

      end{axis}
      end{tikzpicture}
      end{document}


      I tried to put a line-break to the x-axis descriptions:



      xticklabels={
      Innovators \ 2.5%,
      Early Adopters \ 13.5%,
      Early Majority \ 34%,
      Late Majority \ 34%,
      Laggards \ 16%,
      },


      However, this didn't change the plot. Secondly, I also like to add a semi-transparent box with a description behind the graph.



      enter image description here



      Questions:




      1. How can I add a line break, so that the percentage numbers are in a
        new line?

      2. How can I add a description box, as described?


      Thanks for your help!










      share|improve this question













      I use following script (see also here) below, to draw this figure:



      enter image description here



      documentclass{article}
      usepackage{pgfplots}
      usepackage{pgfplotstable}
      usepackage{tikz}
      usetikzlibrary{positioning}
      begin{document}
      begin{tikzpicture}
      begin{axis}[
      width=14cm,
      height=7cm,
      enlargelimits=false,
      axis x line=bottom,
      axis y line=right,
      axis line style={-},
      tickwidth=2pt,
      domain=-3:3,
      xtick={-3,-2,-1,0,1},
      xticklabels={
      Innovators 2.5%,
      Early Adopters 13.5%,
      Early Majority 34%,
      Late Majority 34%,
      Laggards 16%,
      },
      x tick label style={rotate=45,anchor=east},
      ylabel={Market share %},
      ytick={0,25,50,75,100},
      ymin=0, ymax=110,
      samples=51, smooth, no markers,
      ]

      addplot+[blue,very thick] {50*exp(-.5*x^2)};

      addplot+[red,very thick] {100 / (1 + exp(-2*x))};

      pgfplotsinvokeforeach{-3,...,1} {
      draw[help lines] (axis cs:#1,{50*exp(-.5*(#1)^2)}) -- (axis cs:#1,0);
      }

      end{axis}
      end{tikzpicture}
      end{document}


      I tried to put a line-break to the x-axis descriptions:



      xticklabels={
      Innovators \ 2.5%,
      Early Adopters \ 13.5%,
      Early Majority \ 34%,
      Late Majority \ 34%,
      Laggards \ 16%,
      },


      However, this didn't change the plot. Secondly, I also like to add a semi-transparent box with a description behind the graph.



      enter image description here



      Questions:




      1. How can I add a line break, so that the percentage numbers are in a
        new line?

      2. How can I add a description box, as described?


      Thanks for your help!







      tikz-pgf plot graphs






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 13 '18 at 12:28









      Christopher

      1114




      1114






















          1 Answer
          1






          active

          oldest

          votes


















          2














          Define text width for the xtick label to solve the first problem.



          x tick label style={rotate=45,anchor=east,text width=3cm,align=right},


          The fill command along with a node to put text can solve the second issue. something like this:



          fill[gray,opacity=0.5] (axis cs:0,0) rectangle (axis cs:1,100);
          node[above] at (axis cs:0.5,100){some text};


          enter image description here



          The complete code:



          documentclass[border=3mm]{standalone}
          usepackage{pgfplots}
          usepackage{pgfplotstable}
          usepackage{tikz}
          usetikzlibrary{positioning}
          usepgfplotslibrary{fillbetween}
          begin{document}
          begin{tikzpicture}
          begin{axis}[
          width=14cm,
          height=7cm,
          enlargelimits=false,
          axis x line=bottom,
          axis y line=right,
          axis line style={-},
          tickwidth=2pt,
          domain=-3:3,
          xtick={-3,-2,-1,0,1},
          xticklabels={
          Innovators\2.5%,
          Early Adopters\ 13.5%,
          Early Majority\ 34%,
          Late Majority\ 34%,
          Laggards\ 16%,
          },
          x tick label style={rotate=45,anchor=east,text width=3cm,align=right},
          ylabel={Market share %},
          ytick={0,25,50,75,100},
          ymin=0, ymax=110,
          samples=51, smooth, no markers,
          ]

          addplot+[blue,very thick] {50*exp(-.5*x^2)};

          addplot+[red,very thick] {100 / (1 + exp(-2*x))};
          fill[gray,opacity=0.5] (axis cs:0,0) rectangle (axis cs:1,100);
          node[above] at (axis cs:0.5,100){some text};
          pgfplotsinvokeforeach{-3,...,1} {
          draw[help lines] (axis cs:#1,{50*exp(-.5*(#1)^2)}) -- (axis cs:#1,0);
          }


          end{axis}
          end{tikzpicture}
          end{document}


          EDIT



          Another way to solve first issue is to set minimum size. Since OP wants the text to be aligned in center, align=center is used.



          x tick label style={rotate=45,anchor= north east,minimum size = 1cm,align=center},


          The output corresponding to this line:



          enter image description here






          share|improve this answer























          • Is there maybe a better solution to x tick label style={rotate=45,anchor=east,text width=3cm,align=right},? Because I like to align both elements centrally
            – Christopher
            Dec 13 '18 at 17:20










          • @Christopher both elements means? first and second line in x tick label ?
            – nidhin
            Dec 13 '18 at 17:27












          • Yes, exact. The current version seems to align is right?
            – Christopher
            Dec 14 '18 at 7:49






          • 1




            @Christopher x tick label style={rotate=45,anchor=east,text width=3cm,align=center}, can do that. You can try x tick label style={rotate=45,anchor=east,minimum size=1cm,align=center}, also.
            – nidhin
            Dec 14 '18 at 9:06






          • 1




            @Christopher see updated answer also.
            – nidhin
            Dec 14 '18 at 9:42











          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%2f464683%2fadjusting-tikz-figure%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









          2














          Define text width for the xtick label to solve the first problem.



          x tick label style={rotate=45,anchor=east,text width=3cm,align=right},


          The fill command along with a node to put text can solve the second issue. something like this:



          fill[gray,opacity=0.5] (axis cs:0,0) rectangle (axis cs:1,100);
          node[above] at (axis cs:0.5,100){some text};


          enter image description here



          The complete code:



          documentclass[border=3mm]{standalone}
          usepackage{pgfplots}
          usepackage{pgfplotstable}
          usepackage{tikz}
          usetikzlibrary{positioning}
          usepgfplotslibrary{fillbetween}
          begin{document}
          begin{tikzpicture}
          begin{axis}[
          width=14cm,
          height=7cm,
          enlargelimits=false,
          axis x line=bottom,
          axis y line=right,
          axis line style={-},
          tickwidth=2pt,
          domain=-3:3,
          xtick={-3,-2,-1,0,1},
          xticklabels={
          Innovators\2.5%,
          Early Adopters\ 13.5%,
          Early Majority\ 34%,
          Late Majority\ 34%,
          Laggards\ 16%,
          },
          x tick label style={rotate=45,anchor=east,text width=3cm,align=right},
          ylabel={Market share %},
          ytick={0,25,50,75,100},
          ymin=0, ymax=110,
          samples=51, smooth, no markers,
          ]

          addplot+[blue,very thick] {50*exp(-.5*x^2)};

          addplot+[red,very thick] {100 / (1 + exp(-2*x))};
          fill[gray,opacity=0.5] (axis cs:0,0) rectangle (axis cs:1,100);
          node[above] at (axis cs:0.5,100){some text};
          pgfplotsinvokeforeach{-3,...,1} {
          draw[help lines] (axis cs:#1,{50*exp(-.5*(#1)^2)}) -- (axis cs:#1,0);
          }


          end{axis}
          end{tikzpicture}
          end{document}


          EDIT



          Another way to solve first issue is to set minimum size. Since OP wants the text to be aligned in center, align=center is used.



          x tick label style={rotate=45,anchor= north east,minimum size = 1cm,align=center},


          The output corresponding to this line:



          enter image description here






          share|improve this answer























          • Is there maybe a better solution to x tick label style={rotate=45,anchor=east,text width=3cm,align=right},? Because I like to align both elements centrally
            – Christopher
            Dec 13 '18 at 17:20










          • @Christopher both elements means? first and second line in x tick label ?
            – nidhin
            Dec 13 '18 at 17:27












          • Yes, exact. The current version seems to align is right?
            – Christopher
            Dec 14 '18 at 7:49






          • 1




            @Christopher x tick label style={rotate=45,anchor=east,text width=3cm,align=center}, can do that. You can try x tick label style={rotate=45,anchor=east,minimum size=1cm,align=center}, also.
            – nidhin
            Dec 14 '18 at 9:06






          • 1




            @Christopher see updated answer also.
            – nidhin
            Dec 14 '18 at 9:42
















          2














          Define text width for the xtick label to solve the first problem.



          x tick label style={rotate=45,anchor=east,text width=3cm,align=right},


          The fill command along with a node to put text can solve the second issue. something like this:



          fill[gray,opacity=0.5] (axis cs:0,0) rectangle (axis cs:1,100);
          node[above] at (axis cs:0.5,100){some text};


          enter image description here



          The complete code:



          documentclass[border=3mm]{standalone}
          usepackage{pgfplots}
          usepackage{pgfplotstable}
          usepackage{tikz}
          usetikzlibrary{positioning}
          usepgfplotslibrary{fillbetween}
          begin{document}
          begin{tikzpicture}
          begin{axis}[
          width=14cm,
          height=7cm,
          enlargelimits=false,
          axis x line=bottom,
          axis y line=right,
          axis line style={-},
          tickwidth=2pt,
          domain=-3:3,
          xtick={-3,-2,-1,0,1},
          xticklabels={
          Innovators\2.5%,
          Early Adopters\ 13.5%,
          Early Majority\ 34%,
          Late Majority\ 34%,
          Laggards\ 16%,
          },
          x tick label style={rotate=45,anchor=east,text width=3cm,align=right},
          ylabel={Market share %},
          ytick={0,25,50,75,100},
          ymin=0, ymax=110,
          samples=51, smooth, no markers,
          ]

          addplot+[blue,very thick] {50*exp(-.5*x^2)};

          addplot+[red,very thick] {100 / (1 + exp(-2*x))};
          fill[gray,opacity=0.5] (axis cs:0,0) rectangle (axis cs:1,100);
          node[above] at (axis cs:0.5,100){some text};
          pgfplotsinvokeforeach{-3,...,1} {
          draw[help lines] (axis cs:#1,{50*exp(-.5*(#1)^2)}) -- (axis cs:#1,0);
          }


          end{axis}
          end{tikzpicture}
          end{document}


          EDIT



          Another way to solve first issue is to set minimum size. Since OP wants the text to be aligned in center, align=center is used.



          x tick label style={rotate=45,anchor= north east,minimum size = 1cm,align=center},


          The output corresponding to this line:



          enter image description here






          share|improve this answer























          • Is there maybe a better solution to x tick label style={rotate=45,anchor=east,text width=3cm,align=right},? Because I like to align both elements centrally
            – Christopher
            Dec 13 '18 at 17:20










          • @Christopher both elements means? first and second line in x tick label ?
            – nidhin
            Dec 13 '18 at 17:27












          • Yes, exact. The current version seems to align is right?
            – Christopher
            Dec 14 '18 at 7:49






          • 1




            @Christopher x tick label style={rotate=45,anchor=east,text width=3cm,align=center}, can do that. You can try x tick label style={rotate=45,anchor=east,minimum size=1cm,align=center}, also.
            – nidhin
            Dec 14 '18 at 9:06






          • 1




            @Christopher see updated answer also.
            – nidhin
            Dec 14 '18 at 9:42














          2












          2








          2






          Define text width for the xtick label to solve the first problem.



          x tick label style={rotate=45,anchor=east,text width=3cm,align=right},


          The fill command along with a node to put text can solve the second issue. something like this:



          fill[gray,opacity=0.5] (axis cs:0,0) rectangle (axis cs:1,100);
          node[above] at (axis cs:0.5,100){some text};


          enter image description here



          The complete code:



          documentclass[border=3mm]{standalone}
          usepackage{pgfplots}
          usepackage{pgfplotstable}
          usepackage{tikz}
          usetikzlibrary{positioning}
          usepgfplotslibrary{fillbetween}
          begin{document}
          begin{tikzpicture}
          begin{axis}[
          width=14cm,
          height=7cm,
          enlargelimits=false,
          axis x line=bottom,
          axis y line=right,
          axis line style={-},
          tickwidth=2pt,
          domain=-3:3,
          xtick={-3,-2,-1,0,1},
          xticklabels={
          Innovators\2.5%,
          Early Adopters\ 13.5%,
          Early Majority\ 34%,
          Late Majority\ 34%,
          Laggards\ 16%,
          },
          x tick label style={rotate=45,anchor=east,text width=3cm,align=right},
          ylabel={Market share %},
          ytick={0,25,50,75,100},
          ymin=0, ymax=110,
          samples=51, smooth, no markers,
          ]

          addplot+[blue,very thick] {50*exp(-.5*x^2)};

          addplot+[red,very thick] {100 / (1 + exp(-2*x))};
          fill[gray,opacity=0.5] (axis cs:0,0) rectangle (axis cs:1,100);
          node[above] at (axis cs:0.5,100){some text};
          pgfplotsinvokeforeach{-3,...,1} {
          draw[help lines] (axis cs:#1,{50*exp(-.5*(#1)^2)}) -- (axis cs:#1,0);
          }


          end{axis}
          end{tikzpicture}
          end{document}


          EDIT



          Another way to solve first issue is to set minimum size. Since OP wants the text to be aligned in center, align=center is used.



          x tick label style={rotate=45,anchor= north east,minimum size = 1cm,align=center},


          The output corresponding to this line:



          enter image description here






          share|improve this answer














          Define text width for the xtick label to solve the first problem.



          x tick label style={rotate=45,anchor=east,text width=3cm,align=right},


          The fill command along with a node to put text can solve the second issue. something like this:



          fill[gray,opacity=0.5] (axis cs:0,0) rectangle (axis cs:1,100);
          node[above] at (axis cs:0.5,100){some text};


          enter image description here



          The complete code:



          documentclass[border=3mm]{standalone}
          usepackage{pgfplots}
          usepackage{pgfplotstable}
          usepackage{tikz}
          usetikzlibrary{positioning}
          usepgfplotslibrary{fillbetween}
          begin{document}
          begin{tikzpicture}
          begin{axis}[
          width=14cm,
          height=7cm,
          enlargelimits=false,
          axis x line=bottom,
          axis y line=right,
          axis line style={-},
          tickwidth=2pt,
          domain=-3:3,
          xtick={-3,-2,-1,0,1},
          xticklabels={
          Innovators\2.5%,
          Early Adopters\ 13.5%,
          Early Majority\ 34%,
          Late Majority\ 34%,
          Laggards\ 16%,
          },
          x tick label style={rotate=45,anchor=east,text width=3cm,align=right},
          ylabel={Market share %},
          ytick={0,25,50,75,100},
          ymin=0, ymax=110,
          samples=51, smooth, no markers,
          ]

          addplot+[blue,very thick] {50*exp(-.5*x^2)};

          addplot+[red,very thick] {100 / (1 + exp(-2*x))};
          fill[gray,opacity=0.5] (axis cs:0,0) rectangle (axis cs:1,100);
          node[above] at (axis cs:0.5,100){some text};
          pgfplotsinvokeforeach{-3,...,1} {
          draw[help lines] (axis cs:#1,{50*exp(-.5*(#1)^2)}) -- (axis cs:#1,0);
          }


          end{axis}
          end{tikzpicture}
          end{document}


          EDIT



          Another way to solve first issue is to set minimum size. Since OP wants the text to be aligned in center, align=center is used.



          x tick label style={rotate=45,anchor= north east,minimum size = 1cm,align=center},


          The output corresponding to this line:



          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Dec 14 '18 at 9:41

























          answered Dec 13 '18 at 13:07









          nidhin

          3,342927




          3,342927












          • Is there maybe a better solution to x tick label style={rotate=45,anchor=east,text width=3cm,align=right},? Because I like to align both elements centrally
            – Christopher
            Dec 13 '18 at 17:20










          • @Christopher both elements means? first and second line in x tick label ?
            – nidhin
            Dec 13 '18 at 17:27












          • Yes, exact. The current version seems to align is right?
            – Christopher
            Dec 14 '18 at 7:49






          • 1




            @Christopher x tick label style={rotate=45,anchor=east,text width=3cm,align=center}, can do that. You can try x tick label style={rotate=45,anchor=east,minimum size=1cm,align=center}, also.
            – nidhin
            Dec 14 '18 at 9:06






          • 1




            @Christopher see updated answer also.
            – nidhin
            Dec 14 '18 at 9:42


















          • Is there maybe a better solution to x tick label style={rotate=45,anchor=east,text width=3cm,align=right},? Because I like to align both elements centrally
            – Christopher
            Dec 13 '18 at 17:20










          • @Christopher both elements means? first and second line in x tick label ?
            – nidhin
            Dec 13 '18 at 17:27












          • Yes, exact. The current version seems to align is right?
            – Christopher
            Dec 14 '18 at 7:49






          • 1




            @Christopher x tick label style={rotate=45,anchor=east,text width=3cm,align=center}, can do that. You can try x tick label style={rotate=45,anchor=east,minimum size=1cm,align=center}, also.
            – nidhin
            Dec 14 '18 at 9:06






          • 1




            @Christopher see updated answer also.
            – nidhin
            Dec 14 '18 at 9:42
















          Is there maybe a better solution to x tick label style={rotate=45,anchor=east,text width=3cm,align=right},? Because I like to align both elements centrally
          – Christopher
          Dec 13 '18 at 17:20




          Is there maybe a better solution to x tick label style={rotate=45,anchor=east,text width=3cm,align=right},? Because I like to align both elements centrally
          – Christopher
          Dec 13 '18 at 17:20












          @Christopher both elements means? first and second line in x tick label ?
          – nidhin
          Dec 13 '18 at 17:27






          @Christopher both elements means? first and second line in x tick label ?
          – nidhin
          Dec 13 '18 at 17:27














          Yes, exact. The current version seems to align is right?
          – Christopher
          Dec 14 '18 at 7:49




          Yes, exact. The current version seems to align is right?
          – Christopher
          Dec 14 '18 at 7:49




          1




          1




          @Christopher x tick label style={rotate=45,anchor=east,text width=3cm,align=center}, can do that. You can try x tick label style={rotate=45,anchor=east,minimum size=1cm,align=center}, also.
          – nidhin
          Dec 14 '18 at 9:06




          @Christopher x tick label style={rotate=45,anchor=east,text width=3cm,align=center}, can do that. You can try x tick label style={rotate=45,anchor=east,minimum size=1cm,align=center}, also.
          – nidhin
          Dec 14 '18 at 9:06




          1




          1




          @Christopher see updated answer also.
          – nidhin
          Dec 14 '18 at 9:42




          @Christopher see updated answer also.
          – nidhin
          Dec 14 '18 at 9:42


















          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%2f464683%2fadjusting-tikz-figure%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

          How to send String Array data to Server using php in android

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

          Is anime1.com a legal site for watching anime?