[texhax] Need help with excel graph

Susan Dittmar Susan.Dittmar at gmx.de
Fri May 6 17:54:19 CEST 2011


Quoting Jasmine Norman (ddjnorman at yahoo.com):
> I have a excel chart to be a part of latex doc. I checked internet and did the following.
> 1. Select chart - Print to eps
> 2. Open GSview - Convert Ps - EPS - Automatically compute bouding box
> 3. includegraphics {file} [As per the fig insertion procedure]

If you use \usepackage{graphicx}, try:

\includegraphics[width=\linewidth, height=0.8\textheight, keepaspectratio]{file}

This resizes the graphic so that it is
- as wide as possible, with a maximum of the width of a text line at
  that place,
- as high as possible, with a maximum of 0.8 times the space reserved
  for text on one page,
- using the same scaling factor for both directions.

> I think I need to crop the excel chart. I am not sure how to make it small, to fit in the screen.

The above advice does not take into account cropping. Someone else would
have to answer this part of your question. My knowledge in this respect is
limited.

Hope this helps,

	Susan


More information about the texhax mailing list