![图片不符合要求](https://linux22.com/image/307325/%E5%9B%BE%E7%89%87%E4%B8%8D%E7%AC%A6%E5%90%88%E8%A6%81%E6%B1%82.png)
您好,我将图片放在代码下面并进行测试,但它没有按我想要的方式调整,它比预期的要小或要大。我需要图片至少覆盖页面高度的一半。
![\begin{figure}\[h!\]
\caption{State Diagram NIPT Algorithm}
\centering
\includegraphics\[width= 1\textwidth\]{bignipt_sep.eps}
\includegraphics\[hight=1\]{bignipt_sep.eps}
\end{figure}
\begin{figure}\[!ht\]
\begin{center}
\resizebox*{13cm}{!}
{\includegraphics\[scale= 0.5\]{bignipt_sep.eps}}\hspace{10pt}
\bf \caption{ State Diagram NIPT Algorithm}
\end{center}
\end{figure}][2]
答案1
% arara: pdflatex
\documentclass{article}
\usepackage[demo]{graphicx} % get rid of "demo" here!
\usepackage{blindtext} % just for demo
\usepackage{showframe} % just for demo
\begin{document}
\begin{figure}[h!]
\centering
\includegraphics[height=.51\textheight]{bignipt_sep.eps}
\caption{State Diagram NIPT Algorithm}\label{fig:bignipt}
\end{figure}
\blindtext[2]
\end{document}