创建统计图并自定义标题.mb
来自「很多的MAPINFO的常见问题下载后可以学习很有帮助」· MB 代码 · 共 21 行
MB
21 行
'*****************************************************************************
'*
'* The following code demonstrates the use of the Run Command to set a graph
'* title. The graph title to be used is stored in a string variable.
'*
'******************************************************************************
Declare Sub Main
Sub Main
Dim graph_str, ' Holds the Set Graph command
graph_title As String ' Holds the Graph Title
Open Table "Province" Interactive
Graph Character_Name, Total_Pop_1990 From Province
graph_title = "My Population 1990 graph of China Province" ' Sets the graph title
graph_str = "Set graph rotated off title " + """" + graph_title + """" ' Sets the Graph command
Run Command graph_str ' Runs the Graph command
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?