FigureHelp1

FigureHelp1 - Creating Figures and Graphs with LaTeX...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
1 Creating Figures and Graphs with LaTeX Figures and graphs are created using the “figure” environment given below: \begin{ figure }[ where ] figure \end{ figure } In the above syntax, figure stands for the contents of the ‘picture’ environment together with a possible \caption command. The argument where specifies the allowed locations for the table. For example, when \begin{ figure }[ t ] is typed, it means that the figure will appear on the top of the page. An example figure developed by using LaTeX commands is given below. The resulting figure is displayed in Figure 1.1. \put{ x_coord, y_coord }{ pic_element } is used to position the picture element , pic_element . \framebox{ x_dimen,y_dimen }[ pos ]{ text } is used to produce a rectangular box with x_dimen width, and y_dimen height, and a text inside the box. p os determines where the text will be printed such that “tl” prints the text at the top left of the box. To refer this figure inside the text, \label{ fig:lnlblock } command is used with a marker of “fig:lnlblock”. Then, \ref{ fig:lnlblock } can be used to refer this figure whenever it is needed to print the figure number in the text. -------------------- Figure example ------------------------------ \begin{figure}[h] \setlength{\unitlength}{0.14in} % selecting unit length \centering % used for centering Figure \begin{picture}(32,15) % picture environment with the size (dimensions) % 32 length units wide, and 15 units high. \put(3,4){\framebox(6,3){$H_{B}(q)$}}
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/03/2012 for the course EE 3530 taught by Professor Chen during the Fall '07 term at LSU.

Page1 / 6

FigureHelp1 - Creating Figures and Graphs with LaTeX...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online