begin{figure} makes the figure disappear The Next CEO of Stack Overflow

Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis

Need some help with wall behind rangetop

What does "Its cash flow is deeply negative" mean?

Apart from "berlinern", do any other German dialects have a corresponding verb?

Whats the best way to handle refactoring a big file?

How do I go from 300 unfinished/half written blog posts, to published posts?

How can I open an app using Terminal?

The King's new dress

When airplanes disconnect from a tanker during air to air refueling, why do they bank so sharply to the right?

Why do professional authors make "consistency" mistakes? And how to avoid them?

How do spells that require an ability check vs. the caster's spell save DC work?

How to make a software documentation "officially" citable?

Term for the "extreme-extension" version of a straw man fallacy?

How to safely derail a train during transit?

WOW air has ceased operation, can I get my tickets refunded?

Only print output after finding pattern

Why didn't Khan get resurrected in the Genesis Explosion?

Visit to the USA with ESTA approved before trip to Iran

What is the purpose of the Evocation wizard's Potent Cantrip feature?

I believe this to be a fraud - hired, then asked to cash check and send cash as Bitcoin

Can I equip Skullclamp on a creature I am sacrificing?

Grabbing quick drinks

What can we do to stop prior company from asking us questions?

Anatomically Correct Strange Women In Ponds Distributing Swords



begin{figure} makes the figure disappear



The Next CEO of Stack Overflow












0















I have to make a bar chart in my latex document using begin{tikzpicture}. I need to add a caption and label for this figure. Thus, I need to add begin{figure}. However, it makes the figure disappear from the document. When I remove the begin{figure} and end{figure}, the figure appears but I can't add the caption. Any help would be appreciated. Thank you.



documentclass[conference]{IEEEtran}
IEEEoverridecommandlockouts
usepackage{cite}
usepackage{url}
usepackage{amsmath,amssymb,amsfonts}
usepackage{algorithmic}
usepackage{graphicx}
usepackage{textcomp}
usepackage{xcolor}
usepackage{balance}
usepackage{booktabs}
usepackage{pgfplots}
usepackage{subfig}
usepackage{tabularx}
usepackage{tikz}
usepackage{caption}

begin{document}

begin{figure}
centering
begin{tikzpicture}
begin{axis}[
title={},
xlabel={Threshold},
xtick={3,4,5,6,7,8,9,10},
xmin=2, xmax=11,
ymin=10, ymax=110,
ymajorgrids=true,
legend style={at={(0.97,0.03)},anchor=south east}
]
addplot[-, color=blue, smooth]
coordinates{
(3,100)(4,84.52)(5,84.76)(6,82.91)(7,83.24)(8,83.19)(9,82.64)(10,81.99)
};
addlegendentry{Precision}
addplot[-, color=green, smooth]
coordinates{
(3,11.48)(4,69.84)(5,74.75)(6,85.90)(7,94.43)(8,97.38)(9,98.36)(10,100)
};
addlegendentry{Recall}
addplot[dashed, color=red, smooth]
coordinates{
(3,20.59)(4,76.48)(5,79.44)(6,84.38)(7,88.48)(8,89.73)(9,89.82)(10,90.1)
};
addlegendentry{$F_1$}
end{axis}
end{tikzpicture}
caption{Accuracy performance with threshold}
label{fig:threshold}
end{figure}

end{document}








share







New contributor




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

























    0















    I have to make a bar chart in my latex document using begin{tikzpicture}. I need to add a caption and label for this figure. Thus, I need to add begin{figure}. However, it makes the figure disappear from the document. When I remove the begin{figure} and end{figure}, the figure appears but I can't add the caption. Any help would be appreciated. Thank you.



    documentclass[conference]{IEEEtran}
    IEEEoverridecommandlockouts
    usepackage{cite}
    usepackage{url}
    usepackage{amsmath,amssymb,amsfonts}
    usepackage{algorithmic}
    usepackage{graphicx}
    usepackage{textcomp}
    usepackage{xcolor}
    usepackage{balance}
    usepackage{booktabs}
    usepackage{pgfplots}
    usepackage{subfig}
    usepackage{tabularx}
    usepackage{tikz}
    usepackage{caption}

    begin{document}

    begin{figure}
    centering
    begin{tikzpicture}
    begin{axis}[
    title={},
    xlabel={Threshold},
    xtick={3,4,5,6,7,8,9,10},
    xmin=2, xmax=11,
    ymin=10, ymax=110,
    ymajorgrids=true,
    legend style={at={(0.97,0.03)},anchor=south east}
    ]
    addplot[-, color=blue, smooth]
    coordinates{
    (3,100)(4,84.52)(5,84.76)(6,82.91)(7,83.24)(8,83.19)(9,82.64)(10,81.99)
    };
    addlegendentry{Precision}
    addplot[-, color=green, smooth]
    coordinates{
    (3,11.48)(4,69.84)(5,74.75)(6,85.90)(7,94.43)(8,97.38)(9,98.36)(10,100)
    };
    addlegendentry{Recall}
    addplot[dashed, color=red, smooth]
    coordinates{
    (3,20.59)(4,76.48)(5,79.44)(6,84.38)(7,88.48)(8,89.73)(9,89.82)(10,90.1)
    };
    addlegendentry{$F_1$}
    end{axis}
    end{tikzpicture}
    caption{Accuracy performance with threshold}
    label{fig:threshold}
    end{figure}

    end{document}








    share







    New contributor




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























      0












      0








      0








      I have to make a bar chart in my latex document using begin{tikzpicture}. I need to add a caption and label for this figure. Thus, I need to add begin{figure}. However, it makes the figure disappear from the document. When I remove the begin{figure} and end{figure}, the figure appears but I can't add the caption. Any help would be appreciated. Thank you.



      documentclass[conference]{IEEEtran}
      IEEEoverridecommandlockouts
      usepackage{cite}
      usepackage{url}
      usepackage{amsmath,amssymb,amsfonts}
      usepackage{algorithmic}
      usepackage{graphicx}
      usepackage{textcomp}
      usepackage{xcolor}
      usepackage{balance}
      usepackage{booktabs}
      usepackage{pgfplots}
      usepackage{subfig}
      usepackage{tabularx}
      usepackage{tikz}
      usepackage{caption}

      begin{document}

      begin{figure}
      centering
      begin{tikzpicture}
      begin{axis}[
      title={},
      xlabel={Threshold},
      xtick={3,4,5,6,7,8,9,10},
      xmin=2, xmax=11,
      ymin=10, ymax=110,
      ymajorgrids=true,
      legend style={at={(0.97,0.03)},anchor=south east}
      ]
      addplot[-, color=blue, smooth]
      coordinates{
      (3,100)(4,84.52)(5,84.76)(6,82.91)(7,83.24)(8,83.19)(9,82.64)(10,81.99)
      };
      addlegendentry{Precision}
      addplot[-, color=green, smooth]
      coordinates{
      (3,11.48)(4,69.84)(5,74.75)(6,85.90)(7,94.43)(8,97.38)(9,98.36)(10,100)
      };
      addlegendentry{Recall}
      addplot[dashed, color=red, smooth]
      coordinates{
      (3,20.59)(4,76.48)(5,79.44)(6,84.38)(7,88.48)(8,89.73)(9,89.82)(10,90.1)
      };
      addlegendentry{$F_1$}
      end{axis}
      end{tikzpicture}
      caption{Accuracy performance with threshold}
      label{fig:threshold}
      end{figure}

      end{document}








      share







      New contributor




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












      I have to make a bar chart in my latex document using begin{tikzpicture}. I need to add a caption and label for this figure. Thus, I need to add begin{figure}. However, it makes the figure disappear from the document. When I remove the begin{figure} and end{figure}, the figure appears but I can't add the caption. Any help would be appreciated. Thank you.



      documentclass[conference]{IEEEtran}
      IEEEoverridecommandlockouts
      usepackage{cite}
      usepackage{url}
      usepackage{amsmath,amssymb,amsfonts}
      usepackage{algorithmic}
      usepackage{graphicx}
      usepackage{textcomp}
      usepackage{xcolor}
      usepackage{balance}
      usepackage{booktabs}
      usepackage{pgfplots}
      usepackage{subfig}
      usepackage{tabularx}
      usepackage{tikz}
      usepackage{caption}

      begin{document}

      begin{figure}
      centering
      begin{tikzpicture}
      begin{axis}[
      title={},
      xlabel={Threshold},
      xtick={3,4,5,6,7,8,9,10},
      xmin=2, xmax=11,
      ymin=10, ymax=110,
      ymajorgrids=true,
      legend style={at={(0.97,0.03)},anchor=south east}
      ]
      addplot[-, color=blue, smooth]
      coordinates{
      (3,100)(4,84.52)(5,84.76)(6,82.91)(7,83.24)(8,83.19)(9,82.64)(10,81.99)
      };
      addlegendentry{Precision}
      addplot[-, color=green, smooth]
      coordinates{
      (3,11.48)(4,69.84)(5,74.75)(6,85.90)(7,94.43)(8,97.38)(9,98.36)(10,100)
      };
      addlegendentry{Recall}
      addplot[dashed, color=red, smooth]
      coordinates{
      (3,20.59)(4,76.48)(5,79.44)(6,84.38)(7,88.48)(8,89.73)(9,89.82)(10,90.1)
      };
      addlegendentry{$F_1$}
      end{axis}
      end{tikzpicture}
      caption{Accuracy performance with threshold}
      label{fig:threshold}
      end{figure}

      end{document}






      tikz-pgf pgfplots





      share







      New contributor




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










      share







      New contributor




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








      share



      share






      New contributor




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









      asked 18 secs ago









      YusufsnYusufsn

      1011




      1011




      New contributor




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





      New contributor





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






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






















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


          }
          });






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










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f482048%2fbeginfigure-makes-the-figure-disappear%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








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










          draft saved

          draft discarded


















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













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












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
















          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%2f482048%2fbeginfigure-makes-the-figure-disappear%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

          Paper upload error, “Upload failed: The top margin is 0.715 in on page 3, which is below the required...

          Emraan Hashmi Filmografia | Linki zewnętrzne | Menu nawigacyjneGulshan GroverGulshan...

          How can I write this formula?newline and italics added with leqWhy does widehat behave differently if I...