缩放侧向子图以适合页面

缩放侧向子图以适合页面

我有一份文档,其中包含横向打印且旋转的子图。我需要缩放该图(包含子图)以适合页面。

%% LyX 1.6.7 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{graphicx}

\makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
%% A simple dot to overcome graphicx limitations
\newcommand{\lyxdot}{.}


\makeatother

\usepackage{babel}

\begin{document}

\begin{sidewaysfigure}

\captcont{Gene Ontology analysis of cancer marked control overexpressed
genes}

\subfigure{ 

\label{fig:cncrUniqMrkdCntrlOvrExp} 

\includegraphics[width=1\\linewidth,height=12cm]{\lyxdot \lyxdot /\lyxdot \lyxdot /fig/go_gprof/go_cncrUniqMrkdCntrlOvrExp}

}

\captcont{Gene Ontology analysis of cancer marked cancer overexpressed
genes}

\subfigure{ 

\label{fig:go_cncrUniqMrkdCncrOvrExp} 

\includegraphics[width=1\\linewidth,height=12cm]{\lyxdot \lyxdot /\lyxdot \lyxdot /fig/go_gprof/go_cncrUniqMrkdCncrOvrExp}

} 

\end{sidewaysfigure}

\end{document}

我应该使用哪些变量来表示宽度和高度?

答案1

开始使用的图形如果不旋转它们可能会很长,这就是为什么要旋转它们。因此,我们要控制图形的宽度,我们希望宽度等于页面的高度(因为我们要旋转)。

\includegraphics[width=\textheight]

相关内容