Tip  --  Labeling Line Plot Axes

Creating labels for the x and y axes for a LinePlot widget can be accomplished by using images. The example in Figure 1 uses two different images for the x and y axes. The image used for the x-axis has nothing more than tick marks on it, while the y-axis image consists of tick marks along with numerical values. Both images were created using Window's Paint program.


Figure 1.

Step 1
Insert a LinePlot widget into your table workspace and size it accordingly.

Step 2
Insert the y-axis image immediately to the left of the LinePlot widget. Notice that it may help to have the heights of the y-axis image and the LinePlot be the same.
Step 3
Now insert the x-axis image immediately to the right of the LinePlot widget. If the image does not automatically get placed on the next line below the LinePlot, then insert a carriage return (< BR> ) right before the x-axis image in order to place the image below the LinePlot.
Step 4
Now save, compile, and program the page into the Amulet Module. If the x-axis image doesn't seem to match the LinePlot, try inserting pixel shims in order to align the image correctly.

Download this Demo
  LinePlotTip.zip
  Last Updated: Jully 11, 2002

Amulet Tip Archive
Amulet Tips


© 2003-2005 Amulet Technologies. U.S. and Foreign Patents Pending.
µ HTML is a Trademark of Amulet Technologies