0

This question already has an answer here:

enter image description here

I wish to insert a black boundary box around a graph. I have searched through the forum but I couldn't find a way to do so. The image attached is how my graph looks like.

Below is my document code:

\documentclass[11pt]{article}
\usepackage{graphicx}
\usepackage{float}
\usepackage{grffile}
\begin{document}
\begin{figure}[H]
\centering
\includegraphics[height = 3in]{/Users/kusha/Desktop/graphs/kden_2011.pdf}
\caption{Kernel density curves of male and female wages in 2011}
\label{fig:kden_2011}
\end{figure}
\end{document}

marked as duplicate by Masroor, Mensch, Zarko, Ignasi, CarLaTeX Aug 26 '17 at 16:55

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • This should help you. – Masroor Aug 26 '17 at 15:46
  • I am extremely sorry to have not seen this before. – Kusha Verma Aug 26 '17 at 15:46
  • Try \begin{frame} ... \end{frame} of frame package. – CarLaTeX Aug 26 '17 at 16:00
  • @Masroor Sorry for the confusion, it works now. Also, is there a way I can create a one line space between the caption and the image? – Kusha Verma Aug 26 '17 at 16:30
  • \usepackage[skip=1.0ex]{caption}. – Masroor Aug 26 '17 at 16:37

Browse other questions tagged or ask your own question.