Using Image_and_Cursor with a Spreadsheet or Computer Algebra System

The html code below is all that is needed to use a live image like the one above with a spreadsheet or computer algebra system. For most uses you will need to change only the shaded items.

In addition to including this code in your html page, you also need to place the image file (in this example AF-MAP.JPG) and the file Image_and_Cursor.jar in the same directory (or folder) as the html page.

Notice that the width and height of the applet each appear twice, once in the applet tag and once in the first two parameters:

<param name = "applet_width" value = "600">

<param name = "applet_height" value = "458">

The next three parameters specify the file name, width, and height of the image to be used in the applet. The image file must be placed in the same directory (or folder) as the html page.

<param name = "image_width" value = "351">

<param name = "image_height" value = "378">

<param name = "backdrop_filename" value = "AF-MAP.JPG">

The next parameter display_placement provides some control over the applet’s layout. It has two possible values:

· 1 – the display showing the x-and y-coordinates of the cross hairs is placed as shown in the picture on page 1, to the right of the image.

· 0 – the display showing the x- and y-coordinates of the cross hairs is placed below the image.

The applet width and applet height parameters must be large enough to provide room for the display. How much room is required depends on the placement of the display and on other parameters that are discussed in the Image_and_Cursor user’s manual. The user’s manual includes information on additional parameters providing control over the applet’s appearance and functionality.

The next parameter specifies what information is displayed.

<param name = "display_sw" value = "1">

The final parameter controls the format in which the data for the marked points is displayed. It has three possible values (0 – Maple, 1 – Mathematica, 2 – spreadsheet).

<param name = "cas_sw" value = "2">

This document discusses only the most basic features of Image_and_Cursor. For further information on this applet see the Image_and_Cursor user’s manual.