用Surfer8创建等值线地图(中英双语教程)
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
GIS软件应用之一:Surfer8地理信息制图
Understanding How to Use Surfer
了解如何使用Surfer
The most common application(应用) of Surfer is to create a grid-based(基于格网的) map from an XYZ data file(有限个点的X、Y、Z坐标值组成的文件). The Grid | Data command uses an XYZ data file to produce a grid
file(格网文件). The grid file is
then used by most of the Map
menu(地图菜单) commands to
produce maps. Post maps(张贴
图) and base maps do not use
grid files.
Surfer最常见的应用是创建一个
来自有限个点的X、Y、Z坐标值
组成的文件的基于网格的地图。
Grid | Data命令使用一个XYZ的
数据文件产生一个网格文件。
网格
文件,然后由该地图菜单最常用的
命令来制作地图。
张贴图和基面图
除外,它们不需要使用格网文件
The flow chart(流程图) to the right illustrates(图解) the relationship between XYZ data files, grid files, contour(等高线,等值线) maps, and wireframes(线框图).
该流程图,以正确的图解了XYZ数据文件,格网文件,等高线图和线框图的关系。
Lesson 1 - Creating an XYZ Data File
第1课 - 创建一个XYZ的数据文件
An XYZ data file is a file containing at least three columns(列) of data values. The first two columns are the X and Y coordinates(坐标值) for the data points. The third column(列) is the Z value assigned to the XY point. Although it is not required, entering the X coordinate(坐标) in Column(列) A, the Y coordinate(坐标) in Column(列) B, and the Z value in Column(列) C is a good idea. Surfer looks for these coordinates(坐标) in these columns by default.
一个XYZ的数据文件是一个文件,其中包含至少3个
数据值的列。
前两列是X和Y坐标的数据点。
第三列
是分配给Z值在XY点。
虽然它不是必需的,进入了
X 坐标在列A,Y坐标在列B和C列中的Z值是一个
好主意。
这些Surfer寻找这些列坐标是默认的。
一、 Opening an Existing Data File
一、打开一个现有的数据文件
To look at an example of an XYZ data file, you can
open TUTORWS2.DAT into a worksheet(工作表)
window:
为了看一个例子是XYZ的数据文件,你可以打开到一个工作表窗口TUTORWS2.DAT:
1. Choose the File | Open command, or click the button to select the XYZ data file.
选择File | Open命令,点击按钮选择XYZ的数据文件。
2. Double-click on the SAMPLES folder. In the list of files, click TUTORWS2.DAT and then click the Open button to display the file in the worksheet(工作表) window.
双击Samples文件夹中。
在文件列表中,单击TUTORWS2.DAT,然后单击打开按钮,显示在工作表窗口中的文件。
3. Notice that the X coordinate(坐标) (Easting) is in Column(列) A, the Y coordinate(坐标) (Northing) is in Column(列) B, and the Z value
(Elevation) is in Column(列) C. Although it is not
required, the header text (the text in row(行) 1)
is helpful in identifying the type of data in the
column(列), and this information is used in
dialog boxes when selecting worksheet(工作表)
columns.
请注意,X坐标(东移)在A列中,Y为坐标(北
移)在B列,和Z值(海拔)在C列,虽然它不
是必需的,标题文本(文本行中1)有助于确定
在列,数据类型和使用这些信息时,在对话框中
选择工作表的列。
二、 Creating a New Data File
二、创建一个新的数据文件
The Surfer worksheet(工作表) can also be used to create a data file. To open a worksheet(工作表) window and begin entering data:
Surfer工作表也可以用来创建一个数据文件。
要打开一个工作表窗口,并开始输入数据。
1. Choose the File | New command or click the button.
1.选择File | New命令或点击按钮。
2. Click the Worksheet(工作表) option in the New dialog and then click OK to display a new empty worksheet(工作表) window.
2.单击工作表新建对话框选项,然后单击确定以显示一个新的空的工作表窗口。
3. The active cell(单元格)is selected by clicking on the cell(单元格) or by using the arrow(行) keys to move between cells(单元格). The active cell(单元格) is indicated by a heavy border and the contents of the active cell(单元格) are displayed in the active cell(单元格) edit box.
3.活动单元格就是选定单元格或点击使用箭头键移动单元格之间。
活动单元格是表明了一个沉重的边界,而活动单
元格的内容显示在
活动单元格编辑
框。
4. When a cell(单元
格) is active, enter
a value or text, and
the information is
displayed in both
the active cell(单元
格) and the active cell(单元格) box.
4.当单元格是活动的,输入一个值或文字,信息在这两个活动单元格和活动单元格中显示。
5. The BACKSPACE and DELETE keys can be used to edit data as you type.
5. BACKSPACE 和 DELETE键能够被使用去编辑数据。
6. Press the ENTER key and the data are entered into the cell(单元格).
6.按Enter键和数据能被输入到单元格中。
7. To preserve the typed data in the active cell(单元格), move to a new cell(单元格). Move to a new cell(单元格) by clicking a new cell(单元格) with the pointer(鼠标指针), pressing one of the arrow(行) keys, or pressing ENTER.
7.为了维护在活动单元格中输入数据,移动到一个新的单元格。
移动到一个新的单元格通过点击
一个新的单元格指针,按下行键,或按Enter键之一。
三、Saving the Data File
三、保存数据文件
When you have completed entering all of the data:
当你完成所有的数据输入:
1. Choose the File | Save command, or click the button. The Save As(另存为) dialog is displayed if you have not previously saved the data file.
1.选择File | Save命令,或者点击按钮。
如果你之前没有保存数据这Save As(另存为)对话框会被显示。
2. In the Save As(另存为) type list, choose the Golden Software Data (*.DAT) option.
2.在保存类型列表中,选择Golden Software Data (*.DAT)选项。
3. Type the name of the file into the File name box.
3. 在文件名称框键入文件名。
4. Click Save and a GSI Data Export Options dialog opens.
4. 点击保存和一个GSI的数据导出选项对话框将打开。
5. Accept the defaults in the GSI Data Export Options dialog by clicking the OK button.
5.接受点击确定按钮,在GSI的数据导出选项对话框默认。
The file is saved in the Golden Software Data [.DAT] format with the file name you specified. The name of the data file appears at the top of the worksheet(工作表) window.
该文件被保存以Golden Software Data [.DAT]格式和你指定的文件名。
该数据文件的名称出现在工作表窗口上方。
GIS软件应用之一:Surfer8地理信息制图(第二课翻译)
刘花 06180109
Lesson 2 - Creating a Grid File
第二课 - 创建一个网格文件
Grid files are required to produce a grid-based map. Grid-based maps include contour(等值线) maps, image maps, shaded relief(晕渲图) maps, 1-grid vector maps, 2-grid vector maps, wireframes(线框图), and surfaces. Grid files are created using the Grid | Data command. The
Data command requires data in three columns, one column(列) containing X data, one column(列) containing Y data, and one column(列) containing Z data. We have included a sample XYZ data file (TUTORWS.DAT) with Surfer for you to see how to produce a grid file. After completing the tutorial(教程), if you need to produce an XYZ data file of your data for your work, see Lesson 1 - Creating an XYZ Data File.
网格文件须出示基于网格的地图。
基于网格的地图,包括等高线图,影像地图,地形晕渲图,1个网格矢量地图,2个网格矢量地图,线框图和表面图。
网格文件创建使用网格|数据命令。
数据命令需要的数据有三列,一列载有X的数据,一列载有Y数据,和一列载有ž数据。
我们已经有包括了XYZ的样本数据文件(TUTORWS.DAT)与表面给你看如何建立一个网格文件。
在完成本教程后,如果你需要制作一XYZ的数据文件为您的工作您的资料,见第1课 - 创建一个XYZ 的数据文件。
To produce a grid file from TUTORWS.DAT:
为了产生一个来自TUTORWS.DAT的网格文件:
1. If you have the worksheet(工作表) window open, click on the Window menu and choose Plot(绘图). Alternatively(另一个选择), you can create a new plot(绘图) window with File | New (select Plot(绘图) Document and then click OK).
1.如果你有工作表窗口打开着,在窗口菜单上单击并选择Plot。
另一个选择,你可以用File | New 创建一个新的绘图(选择绘图文档,然后单击确定新的绘图视窗)
2. Choose the Grid | Data command.
2.选择Grid | Data命令。
3. In the Open dialog, click the file TUTORWS.DAT (located in Surfer's SAMPLES folder). The name appears in the File name box below the list of data files.
3.在打开对话框中,单击文件TUTORWS.DAT(在Surfer的Samples文件夹中)。
这个名字出现在下面的数据文件列表文件名框中。
4. Click Open and the Grid Data dialog is displayed. Alternatively(另一个选择), you can double-click the data file name to display the Grid Data dialog.
4.单击打开,网格数据对话框显示。
此外,您可以双击该数据文件的名称显示网格数据对话框。
5. The Grid Data dialog allows you to control the gridding(格网化) parameters(参数). Take a moment to look over the various options in the dialog. Do not make changes at this time, as the default parameters(参数) create an acceptable grid file.
5.网格数据对话框允许您控制网格参数。
花点时间查看对话框中的各种选择。
不要在这时候作出改变,因为默认参数创建一个可以接受的网格文件。
o The Data Columns group is used to specify the columns containing the X and Y coordinates(坐标), and the Z values in the data file.
数据列组用于指定列包括X和Y坐标,并在数据文件中的Z值
o The Grid Line Geometry group is used to specify the XY grid limits(边界), grid spacing, and number of grid lines (also referred to as rows(行) and columns) in the
grid file.
网格线几何组用于指定限制在XY格边界,网格间距和格网线数(也涉及到行和列)在
格网文件里。
o The Gridding(格网化) Method group is used to specify the interpolation method and interpolation options.
该网格化法组用于指定插值方法和插值方案。
o The Output Grid File group is used to specify the path and file name for the grid file.
输出网格文件组用于指定路径和网格文件的文件名称。
o The Grid Report option is used to specify whether to create a statistical report for the data.
网格报告选项用于指定是否要创建一个数据统计报告。
6. Click OK. In the status bar(状态栏) at the bottom of the window, a display indicates the progress of the gridding(格网化) procedure. By accepting the defaults, the grid file uses the same path and file name as the data file, but the grid file has a [.GRD] extension(扩展名). 6.点击确定。
在在窗口底部的状态栏,显示表明该网格程序的进展。
通过接受默认设置,网格文件使用相同的路径和文件名作为数据文件的名称,但网格文件有一个[.GRD]扩展名。
7. By default, a message appears after gridding(格网化) the data. Click OK in the grid file has been created message box.
7.默认情况下,网格(格网化)数据后出现一条消息。
确定在网格文件点击已创建的消息框。
8. If Grid Report is checked, a report is displayed. You can minimize or close this report.
8.如果格网报告被检查,一个报告将显示。
你可以最大限度地减少或关闭此报告。
Lesson 3 - Creating a Contour(等值线) Map
第3课 - 创建一个等值线图
The Map | Contour(等值线) Map command creates a contour(等值线) map based on a grid file. Map | Contour(等值线) Map命令创建一个等值线图基于一个格网文件。
To create a contour(等值线) map of the TUTORWS.GRD file created in the previous lesson:
用上一课创建的TUTORWS.GRD文件创建一个等值线图。
1. Choose the
Map |
Contour(等
值线) Map |
New
Contour(等
值线) Map
command,
or click the
button.
1.选择Map |
ContourMa
p | New
Contour
Map命令,
或单击
按钮
2. The Open
Grid dialog
is displayed.
The grid file you just created (TUTORWS.GRD) is automatically entered in the File name box. If the file does not appear in the File name box, select it from the file list.
2.打开网格对话框显示。
您刚刚创建(TUTORWS.GRD)网格文件自动在文件名框中输入。
如果该文件不显示在文件名框中,从文件列表中选择。
3. Click the Open button to create a contour(等值线) map.
3.单击打开按钮,创建一个等值线地图。
4. The map is created using the default contour(等值线) map Properties(属性).
4.该地图被创建是使用默认的等值线地图属性。
5. If you want the contour(等值线) map to Fill(填充) the window, choose the View | Fit to Window command.
5. 如果你想等值线地图去填充窗口,选择View | Fit to Window的命令
一、Opening Map Properties(属性)
一、打开地图属性
After creating a map, you can change the map Properties(属性). There are several ways to open an object's Properties(属性). The most common method is to double-click on the object. Refer to Properties(属性) for alternative methods of opening Properties(属性).
在创建一个地图后,你可以改变地图的属性。
有几种方法可以打开一个对象的属性。
最常用的方法是双击该对象即可。
请参考打开属性的方法。
二、Changing Contour(等值线) Levels(等级)
二、不断变化的等值线等级
After you create a contour(等值线) map, you can easily modify any of the map features. For example, you might want to change the contour(等值线) levels(等级) displayed on the map.
在创建一个等值线地图后,你可以很容易地修改地图的任何功能。
例如,您可能要更改等值线等级在地图上显示出来。
To change the contour(等值线) levels(等级) of the map you just created:
要更改你刚刚创建的等值线等级的地图:
1. Place the pointer(鼠标指针) inside the
limits(边界) of the contour(等值线) map
and double-click to display the contour(等
值线) map Properties(属性) dialog.
1. 在等值线地图边界范围内鼠标指针的位置
双击以显示等高线图属性对话框。
2. In the contour(等值线) map Properties(属
性) dialog, click the Levels(等级) page to
display the contour(等值线) levels(等级)
and contour(等值线) line Properties(属性)
for the map. In this example, the
contour(等值线) levels(等级) begin at Z =
20. Click on the scroll bar at the right to
scroll to the bottom. You can see that the
maximum contour(等值线) level is Z =
105 for this map and that the contour(等值线) interval(间距) is 5.
2.在等值线图属性对话框,单击等级页来显示地图上的等值线等级和等值线属性。
在这个例子中,等值线等级开始是Z = 20。
在滚动栏上单击滚动到适当的位子。
你可以看到,最高等值线等级是Z = 105在这个地图上和这个等值线的间隔为5。
3. To change the contour(等值线) range and interval(间距), click the Level button and the Contour(等值线) Levels(等级) dialog is displayed. This shows the Minimum and Maximum contour(等值线) level for the map and the contour(等值线) Interval(间距).
3.要更改等值线范围和间隔,点击级别按钮和等值线等级对话框显示。
这显示了最小和最大等值线等级在地图上和等值线间距。
4. Double-click in the Interval(间距) box and type the value 10. Click the OK button and the Levels(等级) page is updated to reflect the change.
4. 在间距框中双击,键入值10。
点击确定按钮和等级页面将被更新,以反映更改。
5. Click OK in the contour(等值线) map Properties(属性) dialog and the map is redrawn with the new contour(等值线) levels(等级).
5. 在等值线地图属性对话框上单击确定,这个地图
以新的等值线等级重绘。
三、Changing Contour(等值线) Line
Properties(属性)
三、改变等值线的属性
You can double-click any of the elements in the list
on the Levels(等级) page to modify the individual
element. For example, you can double-click an
individual Z value in the list to change the Z value
for that particular contour(等值线) level. You can
also double-click the line style for an individual
level to modify the line Properties(属性) for the
selected level. This provides a way to emphasize
individual contour(等值线) levels(等级) on the map.
您可以在等级页名单中双击修改单个元素的任何要素。
例如,您可以在列表Z值中双击改变该特定等值线等级Z的值。
您也可以单独双击被选择的等级的线型来修改线的属性。
这里提供了一种方法,在地图上强调单独的等值线等级。
To change contour(等值线) line Properties(属性):
改变等值线属性:
1. Double-click the contour(等值线) map to open the map Properties(属性).
1.双击等值线地图,打开地图属性。
2. On the Levels(等级) page, double-click the line sample for the contour(等值线) level at Z = 70 to open the Line Properties(属性) dialog.
2.在等级页中,双击等值线等级线样本Z = 70,打开线属性对话框。
3. You can select the line color, style, or width for the selected line in the Line Properties(属性) dialog. In the Width box, click the up arrow(行), and change the width value to 0.030 in. (A width of 0.000 in is equivalent to one pixel width.)
3.你可以在属性对话框中选择线的线颜色,样式,或者线宽。
在宽度框中,单击向上箭头(行),并更改宽度值到0.030英寸。
(0.000的宽度等于一个像素的宽度。
)
4. Click OK in the Line Properties(属性) dialog, and the Levels(等级) page is updated to reflect the change.
4. 在线属性对话框中单击确定,等级页面被更新,以反映更改。
5. Click OK in the map Properties(属性) dialog and the map is redrawn. The contour(等值线) line at Z = 70 is drawn with a thicker line.
5. 在地图属性对话框单击确定,地图被重绘。
等值线是Z = 70被厚线绘制。
四、Adding Color Fill(填充) between Contour(等值线) Lines
四、在等值线间添加颜色填充
Color Fill(填充) can be assigned to individual levels(等级) in the same way as line Properties(属性). Alternatively(另一个选择), you can assign colors based on a gradational spectrum between two colors.
颜色填充可以被分配到单独等级以同样的线属性方式。
另一个选择,您可以指定在两种颜色之间的渐进谱的颜色。
The Levels(等级) page in the contour(等值线) map Properties(属性) dialog shows a correspondence between a level (under the Level button) and a color (under the Fill(填充) button). The colors are used to Fill(填充) in the space between the corresponding level and the next higher level. For example, if the contour(等值线) levels(等级) are 20, 30, 40, ..., etc., then the color corresponding to level 20 is used to Fill(填充) in the space between the level 20 contour(等值线) and the level 30 contour(等值线).
等级页在等值线地图属性对话框显示了一种等级(在等级按钮下)和一种颜色(在填充按钮下)的一种联系。
这些颜色被用于填充同级和下一个更高的等级间的空间。
例如,如果等值线等级是20,30,40,...,等等,那么相应的颜色级别20是用在等级20等值线和等级30等值线之间的空间填充。
To change color Fill(填充):
更改颜色填充:
1. Double-click the contour(等值线) map to open the contour(等值线) map Properties(属性) dialog.
1.双击等值线地图打开等值线地图属性对话框。
2. Click the Fill(填充) Contours(等值线) check box on the General(常规) page.
2. 在常规检查页框单击填充等值线。
3. On the Levels(等级) page, click the Fill(填充) button to open the Fill(填充)dialog.
3.在等级页上,单击填充按钮,打开填充对话框。
4. Click the Foreground Color button to open the Color Spectrum(色标) dialog. This dialog allows you to select colors to assign to specific Z values. Click on the left anchor point button above the spectrum, click on the color blue in the color palette, and then click OK. The Foreground Color button is now displayed as a gradation from blue to white in the Fill(填充) dialog.
4.点击前景色按钮来打开彩色色标对话框。
此对话框允许您选择的颜色分配给特定的Z值。
点击左侧频谱以上的锚点按钮,在调色板蓝色颜色上单击,然后单击确定。
前景色按钮现在显示为一个从白色渐变到蓝色的填充对话框。
5. Click OK and the Fill(填充) colors on the Levels(等级) page are updated to reflect the change.
5.点击确定,在等级页面填充颜色更新以反映更改。
6. Click OK and the contour(等值线) map is redrawn with color Fill(填充) between the contours (等值线).
6.点击确定,等值线地图中等值线间的颜色填充被重绘。
五、Add, Delete, and Move Contour(等值线) Labels(标注)
五、添加,删除,移动等值线标签
Contour(等值线) label locations can be changed on an individual basis. Labels(标注) can be added, deleted, or moved.
等值线标签的位置可以在个别情况改变。
标注可以添加,删除或移动。
To add, delete, and move contour(等值线) labels(标注):
添加,删除和移动等值线标注:
1. Right-click on the contour(等值线) map and
choose the Edit Contour(等值线) Labels(标注)
option. You can also edit labels(标注) of a
selected contour(等值线) map using the Map |
Contour(等值线) Map | Edit Labels(标注)
command. The pointer(鼠标指针) changes to a
black arrow(行)head to indicate that you are
in edit mode.
1.右键单击等值线地图,然后选择Edit Contour
Labels选项。
您也可以编辑所选等值线地图标注
使用Map | Contour Map | Edit Labels命令。
鼠标指针,以一个黑色箭头(行)头的变化表
明您处于编辑模式。
2. To delete a label, click on the label and press the DELETE key on the keyboard. For example, click on a 70 label and then click the DELETE key on your keyboard.
2.要删除一个标签,先单击标签,然后按键盘上的Delete键。
例如,点击一个70标签,然后点击键盘上的Delete键。
3. To add a label, press and hold the CTRL key on the keyboard and click on the location on the contour(等值线) line where you want the new label located. Add a 60 contour(等值线) label to the lower left portion of the map.
3.要添加一个标签,在键盘上按下和保持CTRL键,并在您希望新标签所在等值线位置单击。
新增了60等值线标签到地图左下角的部分。
4. To move a contour(等值线) label, click on the label, hold down the left mouse button, and drag the label. Move the 70 contour(等值线) label on the right portion of the map to the north.
4.要移动一个等值线标签,在标签上单击,按住鼠标左键,并拖动标签。
移动70等值线标签在地图以北的右半部分。
5. To exit the Edit Contour(等值线) Labels(标注) mode, press the ESC key.
5.要退出Edit Contour Labels模式,按ESC键。
六、Modifying an Axis(坐标轴)
六、修改一坐标轴
Every contour(等值线) map is created with four axes(坐标轴): the bottom, right, top, and left axes(坐标轴). You can control the display of each axis(坐标轴) independently of the other
axes(坐标轴) on the map. In this example, we'll change the contour(等值线) spacing and add an axis(坐标轴) label.
每一个等值线地图是由4坐标轴:底部,右,上,左坐标轴所创建的。
您可以控制每个坐标轴在地图上独立其他坐标轴显示。
在这个例子中,我们将改变等值线间距并添加一坐标轴标签。
To modify an axis(坐标轴):
修改一坐标轴:
1. Move the pointer(鼠标指针) over one of the axis(坐标轴) tick labels(标注) on the bottom X axis(坐标轴) and left-click the mouse. In the status bar(状态栏) at the bottom of the plot(绘图) window, the words "Map: Bottom Axis(坐标轴)"
are displayed. This indicates that you have
selected the bottom axis(坐标轴) of the
contour(等值线) map. Additionally, hollow
handles appear at each end of the axis(坐标轴),
and solid green handles appear surrounding the
entire map. This indicates that the axis(坐标轴) is
a "sub-object(子对象)" of the entire map.
1.移动以上的坐标轴一鼠标指针在底部剔X坐标轴
和左击鼠标标签。
在状态栏绘图命令窗口,写着“地
图:底部坐标轴”被显示。
这表明,你选择了等值
线地图底部坐标轴。
此外,空心手柄出现在每个坐
标轴结束,固体绿色处理出现在整个地图周围。
这
表明,在整个地图坐标轴是一个“子对象”。
2. Double-click on the bottom axis(坐标轴) to
display the bottom axis(坐标轴) Properties(属性)
dialog.
2.双击底部坐标轴显示底部坐标轴属性对话框。
3. In the Title box on the General(常规) page, type "Bottom Axis(坐标轴)" and then click the Apply (应用) button. This places a title on the selected axis(坐标轴).
3.在对常规页上,键入“底坐标轴”,然后单击应用按钮。
在这出现选定的坐标轴标题。
4. If you cannot see the axis(坐标轴) title, select View | Zoom | Selected. Notice that you do not have to close the Properties(属性) dialog to select menu commands, toolbar buttons, or objects in the plot(绘图) window.
4.如果你不能看到坐标轴标题,选择View | Zoom | Selected。
请注意,您不必关闭属性对话框,选择菜单命令,工具栏按钮,或绘图对象窗口。
5. Click on the Scaling page to display the axis(坐标轴) scaling options. In the Major Interval(间距) box, type the value 1.5 and then click the Apply (应用) button. This changes the spacing between major ticks along the selected axis(坐标轴).
5.点击网页上的标度来显示坐标轴缩放选项。
在主要间距框中,键入值1.5,然后单击应用按钮。
这种刻度之间的变化主要沿着选定的坐标的间距。
6. Click on the General(常规) page and then click the Label Format button. The Label Format dialog is displayed.
6.点击常规页,然后单击标签格式按钮。
标签格式对话框显示。
7. In the Label Format dialog, select the Fixed option in the Type group. Click on the down arrow(行) on the Decimal Digits box and change the value to 1. This indicates that only one digit follows the decimal point for the axis(坐标轴) tick labels(标注).
7.在标签格式对话框中,选择在类型组固定的选择。
向下的箭头的十进制数字行点击和把值更改为1。
这表明,只有一个数字后面的坐标轴小数点刻度标注。
8. Click OK to return to the axis(坐标轴) Properties(属性) dialog.
8.单击确定返回到坐标轴属性对话框。
9. Click OK in the axis(坐标轴) Properties(属性) dialog and the map is redrawn. The axis(坐标轴) tick spacing and labels(标注) are changed, and the axis(坐标轴) title is placed below the map.
9.单击坐标轴属性对话框中的OK,地图重绘。
坐标轴刻度间距和标注的改变,而坐标轴标题在地图上的下面。
七、Saving a Map
七、保存地图
When you have completed the map or drawing in the plot(绘图) window, you can save the map to a Surfer file [.SRF] containing all the information necessary to reproduce the map. When you save a map, all the scaling, formatting, and map Properties(属性) are preserved in the file.
当你完成地图或绘图窗口绘图,您可以保存映射到一个Surfer文件[.SRF]包含所有必要的信息去生成地图。
当您保存一张地图,所有的缩放,格式化和地图属性是在文件中被保存。
To save a map:
保存地图:
1. Choose the File | Save command, or click the button. The Save As(另存为) dialog is displayed because the map has not been previously saved.
1.选择File | Save命令,或按一下按钮即可。
作为另存为
对话框中保存的地图显示,因为以前没有保存。
2. In the File name box, type TUTORWS.
2.在文件名框中,键入TUTORWS。
3. Click Save and the file is saved to the current directory(文件
夹) with an [.SRF] extension(扩展名). The saved map
remains open and the title bar changes to reflect the name
change.
3.点击保存,文件保存到当前文件夹有一个[.SRF]扩展名。
保
存的地图仍然是开放的,而标题栏的名称更改,以反映更改。
If you are using the demo(演示) version(版本) of Surfer you will not be able to save the map. Please proceed to Lesson 4.
如果您使用的是Surfer演示版本的浏览者将无法保存地图。
请进行第4课。
八、Exporting 3D Contours (等值线)
八,输出三维等值线图
When you have completed a contour(等值线) map in the plot(绘图) window, you can export the contour(等值线) lines with associated Z values to an AutoCAD DXF file.
当你在绘图窗口完成一个等值线地图,你可以导出等值线与AutoCAD的DXF文件到相关的Z
值线文件。
To export contour(等值线) lines:
输出等值线线条:
1. Select the map by clicking on the map in the plot(绘图) window or by clicking on the word "Contours (等值线) " in the Object Manager(对象管理器).
1.通过在地图上的绘图窗口点击选择地图或在对象管理器点击“等值线”。
2. Choose Map | Contour(等值线) Map | Export Contours(等值线).
2.选择Map | Contour(等值线) Map | Export Contours(等值线)。
3. In the Save As(另存为) dialog , type TUTORWS into the File name box.
3.在另存为对话框,在文件名框中键入TUTORWS。
4. Click Save and the file is exported to the current directory(文件夹). This creates a file titled TUTORWS.DXF which can be opened in any program with an AutoCAD DXF import option.
4.点击保存并导出该文件到当前文件夹。
这将创建名为TUTORWS.DXF可以在任何程序打开一个AutoCAD DXF文件的导入选项的文件。
If you are using the demo(演示) version(版本) of Surfer you will not be able to export
contours(等值线). Please proceed to Lesson 4.
如果您使用的是Surfer演示版本的浏览者将无法输出等值线。
请进行第4课。
补充资料:
第三课等高线的绘制
Surfer的最主要的功能是绘制等高线图,但并不是说我们具有了数据文件就可以直接绘制等高线,surfer要求绘制等高线的数据有特殊的格式要求,即首先要将数据文件转换成Surfer认识的grd文件格式(规则格网文件grid file),才能绘制等高线。
假设你有三列数据分别为X,Y,Z,其中Z为点(x,y)处的值,存在文件test.dat中(数据见附件),其中第一列是X坐标,第二列是Y坐标,第三列是(x,y)上的值Z,则绘制等高线的步骤如下:
步骤一:把数据文件转换成grd文件
1. 打开菜单Grid | Data... ,在open对话框中选择数据文件test.dat
2. 这会打开“Grid Data”对话框。
在“Data Columns”中选择要进行GRID的网格数据(X
和Y坐标)以及格点上的值(Z列),这里我们不用选择,因只有3列数据且它们的排列顺利已经是XYZ了,如果是多列数据,则可以在下拉菜单中选择所需要的列数据。
选择好坐标XY和Z值后,在“Griding Method"中选择一种插值方法(如果你需要比原始数据的网格X和Y更密的Z数据,或是你的网格是非均匀的),则在Gridding(格网化)的过程中,Surfer会自动进行插值计算,生成更密网格的数据。
如果你只是想绘制原始数据的图,不想插值,则最好选择距离平方倒数法(inverse distance to a power)或Kriging(克里格,克里金)方法。
因为这两种方法在插值点与取样点重合时,插值点的值就是样本点的值,而其它方法不能保证如此。
在“Output GridFile”中输入输出文件名test.grd,然后在“Grid Line Geometry”中设臵网格点数。
这里需要注意的是,当X和Y的数值相差很大时,这里显示的最大最小值可能有错误(即与原始数据不同),这是Surfer软件本身的问题,遇到这种情况,必须手动改正这种错误,即输入正确的最大最小值。
由于我们的数据没有此类问题,因此不必手动改正最大最小值。
但必须手动改正X和Y的间距“spacing”或数据个数“#f”,这二者是相关的,改动一个,另一个自动改正。
如果你的原始数据是等间距的,这里的X和Y的间距“spacing"或”#f“最好与原数据一致,这样可以减少插值带来的误差。
我们的数据是不均匀的,所以必须插值,这里可以不进行任何改动。
好了,点“ok”,画图所需要的grd文件test.grd就生成了。
步骤二:画等高线
打开菜单“Map|Countour Map|New Countour Map",在“Open Grid”对话框中选择刚才输出的grd文件,如test.grd,点“ok”,则一副等高线图就画完了。
步骤三:等高线图的设臵
在所画的等高线图中双击鼠标,或点击右键,选中“属性”,就会出现设臵等高线。