To start "Transform", type transform . You will see the following.
Now, pull the file menu down to "Open" and select the name of a file. In this example we will use "/usr/spyglass/Transform_3/Samples/US_Weather/US_Weather.Text"
You will now see the following.
The next step depends on the data formats .
In this example, we have ascii data. The first few lines of the data file
# Data recorded on 01/02/91 at 694 stations. -99 means data not avail.
# X and Y is Lat-Long mapped onto polar sterographic projection
X-coord Y-coord Temp(F) Dewpt(F) Press(Mb) U(m/s) V(m/s)
4158095.30 2769728.30 15.00 5.00 1020.60 -0.31 2.55
4206175.00 2711076.00 17.00 5.00 1022.30 -0.52 4.09
4157729.80 2479427.00 24.00 7.00 1025.70 -1.21 4.47
3925337.00 2395113.80 27.00 11.00 1026.70 -1.06 5.04
Transform ignores any line starting with '#'. The information that Transform
uses first is a header line (here the third line). In this example, the
header line names each variable. Associated with each (x,y) coordinates are 5
values, labeled "Temp(F)", "Dewpt(F)", and so on.
This data format is the text-column format. This means, the coordinates are stored on each line and it is stored as ascii text. Click on the diamond next to "Text Columns" and then on "OK". You will now see
Click on the diamond next to "Last header ..." and then "OK". You will see
Transform will now transform the data to a rectangular mesh. You can now choose the number of rows and columns in the mesh. Transform will interpolate the data to fit the mesh. You may choose the interpolation method (Here, Nearest Neighbor Fill)and the value for "undefined" data (background Value). When these values are set, click on "OK"
You will now see the data displayed in a matrix.
You may now display your data by pulling down the "Image" menu to "Generate Image" A black and white version of the following will appear.
To get color, pull the menu "Tables" and select one of the table types. The above picture uses the "Rainbow" table.
To generate a contour, pull the "Image" menu down to "Contour Plot..." You can set the number of levels and such. When you click "OK", another window will pop up displaying the contours.
There is much more that Transform can do. To learn more about "Transform", look at the "Transform" manual in the Institute's library, or just try things by clicking on the various buttons and pulling down menus. For example, you can print the file by pulling down the "File" menu to "Print..." and following instructions.