Description
Used in a labelgraphic environment to add labels to the graphic.
Syntax
\grlabel{label}{x}{y}
- label
- The text of the label.
- x
- The x-coordinate of the label, in pixels, measured from the left edge of the image.
- y
- The y-coordinate of the label, in pixels, measured from top edge of the image (a positive value of y indicates distance below the top edge).
Notes
- More than one
\grlabel
may be used. - Without any
\grlabel
commands, the labelgraphic environment simply provides a method for incorporating an image file in a question. In this case, however,\image
is the preferred method.
Example
\begin{question}{Dimensioned Number} \qutext{A ball is thrown upward from the top of a 40 foot high tower at an initial velocity of 64 feet/second. The graph of the height of the ball versus time is shown below. What is the maximum height of the ball?\\ \\ Express your answer to an accuracy of at least 3 significant figures. \begin{labelgraphic}{ball.gif}{250}{200} \grlabel{time (seconds)}{120}{10} \grlabel{height (meters)}{10}{100} \end{labelgraphic}} \answer{136 ? 1 ft} \end{question}