Plotting PDF
Plotting PDF
Surpac 6.0
May 2007
www.gemcomsoftware.com
Copyright © 2007 Gemcom Software International Inc. (Gemcom).
This software and documentation is proprietary to Gemcom and, except where expressly
provided otherwise, does not form part of any contract. Changes may be made in products or
services at any time without notice.
Gemcom publishes this documentation for the sole use of Gemcom licensees. Without written
permission you may not sell, reproduce, store in a retrieval system, or transmit any part of the
documentation. For such permission, or to obtain extra copies please contact your local
Gemcom office or visit www.gemcomsoftware.com.
While every precaution has been taken in the preparation of this manual, we assume no
responsibility for errors or omissions. Neither is any liability assumed for damage resulting
from the use of the information contained herein.
Contributors
Rowdy Bristol
Phil Jackson
Kiran Kumar
Product
Gemcom Surpac 6.0
i
Table of Contents
Introduction .............................................................................................................................. 1
Setting the Work Directory ..................................................................................................... 2
Autoplot .................................................................................................................................... 3
Workflow ................................................................................................................................ 3
Plan View Plotting .................................................................................................................. 5
Three Dimensional Plotting .................................................................................................... 9
Section Plotting .................................................................................................................... 11
File-based plotting ................................................................................................................. 34
Creating Plan View Maps ..................................................................................................... 37
Importing/Exporting Maps and Entities ................................................................................ 60
Plan View Map of Drillhole Traces ....................................................................................... 63
Section View Map of Drillhole Data...................................................................................... 66
Creating Multi-Viewport Maps .............................................................................................. 72
Title Block Definitions ........................................................................................................... 92
Appendix 1: Plot Priorities ................................................................................................... 99
ii
Introduction
In Surpac you can create plots using:
• Autoplot
• File-based plotting
Autoplot is essentially What You See Is What You Get (WYSIWYG) plotting from the Surpac
graphics environment. It is simple and easy to use.
Requirements
Prior to proceeding with this tutorial, you should ensure you have the following items:
A copy of the software for installation. This is usually installed from a CD, but the
software can be downloaded from the www.surpac.com website.
Objectives
1
Setting the Work Directory
A work directory is the default directory for saving Surpac files. Files used in this tutorial are
stored in the folder:
<installation directory>\demo_data\tutorials\plotting
The name of the work directory is displayed in the title bar of the Surpac window.
2
Autoplot
Overview
You can create plan, section, or three-dimensional plots of data with Autoplot.
Workflow
3
There are two mandatory steps to create a plot file with Autoplot:
Display data in
graphics
String styles, colour, marker styles and text are all plotted as they are displayed in graphics.
4. Run Autoplot and specify parameters such as sheet size, scale, etc.
Run Autoplot
Enter
Presentation
Parameters
Run Autoplot
Enter title
block text
Enter grid
parameters
4
Plan View Plotting
5
6. From the Display menu, select Point, then Attributes.
The display is updated with the soil sample locations and grades displayed.
6
8. From the Plotting menu, select Autoplot.
10. Click and drag to select a small area of the screen to plot.
The scale is calculated to fit the A3 paper size.
7
11. Enter the information as shown, and then click Apply.
12. Enter an interval of 100 for X and Y Grid Lines, select full lines for your Grid Type, then
click Apply.
At this point the plot will be processed and the Navigator will be updated. In this
case, the layer name is soil1.str so the resultant plot file will be soil1_str.dwf.
Surpac starts the Plot Preview window with the file displayed as shown.
13. From the File menu, select Close to close the Plot Preview window.
8
Three Dimensional Plotting
You can create a plot of any data, including solids, block models, etc in any three-dimensional
orientation with Autoplot.
1. Open three_dimensional_view.swa.
9
The plot is displayed in the Plot Preview window.
4. From the File menu, select Close to exit the Plot Preview window.
If you have difficulty with these steps, run _01a_autoplot_3d.tcl, and click Apply on each
form that is displayed.
10
Section Plotting
When a section has been created, and the data is in the section plane, two options are
enabled in Autoplot:
• Plan strips
• Batch sections
You can create a plot with an XY (plan) view as well as a section view with the Plan strip
option. You can create plots of multiple sections using the Batch sections option.
2. Open ore_solid1.str.
3. Open surpac.ddb.
The data in the two string files and the drillhole traces are displayed.
11
6. From the Database menu, select Sections, then Define.
12
9. Enter the information as shown on the Geology patterns tab.
Enter the information as shown on the Labels tab, and then click Apply.
Note: Right click in the empty space below the first row and select Add to add a second row
to the table.
13
The data is displayed as shown.
Notice that the section number is displayed in the Status bar at the bottom of the window
14
11. Click the Next section icon until the 7320 section is displayed, as shown.
Note: If you have difficulty with these steps, click the Reset graphics icon , then open
section_7320_north.swa.
15
14. Press the F1 key.
15. Left click and drag in graphics to move the box as shown.
16
The file section.dwf is created and displayed in the Plot Preview window as shown.
18. From the File menu, select Close to close the Plot Preview window.
If you have difficulty with these steps, run _01b_autoplot_section.tcl, and click Apply on
each form that is displayed.
17
Task: Create a Section Plot with a Plan Strip
1. Drag and drop section_7320_north.swa to display the data as in the previous task.
18
5. Left click and drag in graphics to move the box.
19
The file section_with_plan.dwf is created and displayed in the Plot Preview window, as
shown.
8. From the File menu, select Close to close the Plot Preview window.
If you have difficulty with these steps, run _01c_autoplot_section_plan_strip.tcl, and click
Apply on each form that is displayed.
20
3. Enter the information as shown.
21
6. Press the F1 key.
Northing Filename
7320 multi_section.dwf
7360 multi_section_01.dwf
7400 multi_section_02.dwf
7440 multi_section_03.dwf
22
10. Drag and drop multi_section.dwf to display the plot.
23
12. Drag and drop multi_section_02.dwf to display the plot.
14. From the File menu, select Close to close the Plot Preview Window.
If you have difficulty with these steps, run _01d_autoplot_multiple_sections.tcl, and click
Apply on each form that is displayed.
24
Task: Create a Title Block for Multiple Section Plots
25
4. Click and drag the right and left mouse buttons and/or use the mouse wheel to zoom
the title block, as shown.
5. From the Title Blocks menu, select Edit, then Delete item.
7. From the Title Blocks menu, select Create, then Autoplot section details.
26
9. Enter the information as shown, and then click Apply.
Note: Insert a space after the last character of the Prefix, and before the first character of
the Suffix. For example, the Northing Prefix is “Section<space>:<space>”.
11. From the File menu, select Close to close the Plot Preview window.
The MULTI_SEC title block is now ready for use in Autoplot when plotting sections.
27
Task: Create Multiple Section Plots
2. Right click to the right of the menus, move the cursor to Toolbars, and then click Scale
and transparency.
28
4. Click the Autoplot icon .
Notice that when you select the Drawing area of VA1B in Plot content, the only available
option in the Optional content Drawing area is VA1T. The software only allows you to select
drawing areas which are appropriate for the selected sheet size, and for one another.
29
6. Click the Batch section tab.
30
10. Enter the information as shown, and then click Apply.
31
The following files will be created:
Northing Filename
7320 multi_solid_section.dwf
7360 multi_ solid_section_01.dwf
7400 multi_ solid_section_02.dwf
7440 multi_ solid_section_03.dwf
15. Drag and drop multi_solid_section.dwf to display the plot in the Plot Preview window.
16. Click and drag the right and left mouse buttons and/or use the mouse wheel to zoom in
on the title block as shown:
Notice that the Section number has been automatically appended to the title block.
32
17. Click and drag the right and left mouse buttons and/or use the mouse wheel to zoom in
on the legend:
18. Drag and drop each of the files that was created:
multi_solid_section_01.dwf
multi_solid_section_02.dwf
multi_solid_section_03.dwf
Note: This macro will only run correctly if the title block MULTI_SEC has been created, as
described in the previous task.
33
File-based plotting
34
Overview
For File-based plotting, Surpac needs to know where to find the data, what to plot, and also
how to plot the data.
Before you produce a plot in Surpac you must first define a Map. The map definition details
what is to be plotted.
Maps consist of Entities, which refer to the set of instructions that indicates to Surpac how to
plot the data.
35
In this chapter you will learn how to create the following maps:
Example 1
Example 2
These are:
• Sheet entities - presentation aspects e.g. grid, title block, border
String and note entities are created and modified within Surpac.
Sheet entities are created and modified via the Sheet entities window interface and are stored
in a collection of files called sheets.ssi, borders.ssi, drwareas.ssi, grids.ssi, titles.ssi that
are in the \ssi\share\etc\plotting directory.
36
Creating Plan View Maps
You will generate a plot of some ore block strings kbb135.str using an existing entity called
ORE BLOCK, within an existing map definition called ORE BLOCKS.
The entity is made up of two operations: a line operation which draws a line around the ore
block and a string operation which plots a text description field at the centre of the ore block.
3. View the displayed Define a String Entity form which defines the ORE BLOCK entity.
37
4. After reviewing the Define a String Entity form, click Cancel.
6. Select the ORE BLOCKS map definition, and then click Apply.
7. Click Cancel.
9. Select ORE BLOCKS in the displayed table, and then click Apply.
38
10. Enter the information as shown, and then click Apply.
Notice that the checkbox Display plot after processing has been ticked. This will
open the map in the Plot Preview window so you can view it before plotting.
39
11. Enter the information as shown on the next two forms, and then click Apply.
i.e. in this case the first processed map will be called oreblocks.dwf with subsequent maps
called oreblocks_01.dwf, then oreblocks_02.dwf, oreblocks_03 etc.
40
12. From the Plot Preview window menu, select Create, then Text.
13. Click a point for the text to be displayed in the plot, fill in the form as shown, and then
click Apply.
15. From the File menu, select Save, then click Apply to save the file.
Note: You can edit *.dwf files with a CAD package such as Autocad or Microstation.
41
Task: View Data for Plotting
1. Open pit1.str.
Note: The alias for Hide everything is CS ( for Clear Screen). In all following cases where
you wish to hide everything, type CS into the function chooser and then press ENTER.
3. From the Display menu, select Strings, then With strings numbers.
Notice that string 1 contains the crest and toe strings for the pit.
42
5. Type CS into the function chooser, then press ENTER.
6. From the Display menu, select Strings, then With strings numbers.
9. From the Display menu, select Strings, then With strings numbers.
43
11. Type PS (for Plot Strings) into the function chooser, then press ENTER.
44
15. From the Display menu, select Strings, then With strings numbers.
Notice that there are three segments for string 1 and a single segment for string 100.
17. Type CS into the function chooser, and then press ENTER.
45
19. Enter the information as shown, and then click Apply.
21. Click and drag a box around the shape to window in.
46
24. Enter the information as shown, and then click Apply.
47
27. From the Display menu, select Strings, then With strings numbers.
48
32. From the Display menu, select Points, then Attributes.
49
34. From the Display menu, select Points, then Attributes.
50
Task: Create a bore hole location plan
Based on what you have seen in the previous task, your map will contain the following:
3. Select the Line Operations tab and tick the checkbox for Use line operation.
51
7. Enter the information as shown, and then click Apply.
52
10. On the Point operations tab number 1, enter the information as shown.
11. Select Point operations tab number 2, and enter the information as shown.
53
12. Select Point operations tab number 3.
The last entity that needs to be created is a note entity. Note entities allow files of text data to
be incorporated into a plot. The text was created in a spreadsheet and saved as a text file
called bor1.not.
54
16. Enter the information as shown below, and then click Apply.
The note may be positioned relative to any of the four corners of the plotting sheet. Once you
have specified the corner, you then need to nominate the X and Y offsets and the horizontal
and vertical justification.
Now that you have finished creating the entities for the map, you can create the map.
18. Enter the map name as BORE PLAN, and then click Apply.
19. Enter the details for the Solid Line entity from pit1.str.
55
20. Press the TAB key while in the Segment range column to add a new row.
Note: The second entity has been specified as SOLID LINE/PN3. The /PN3 means to use
pen 3, instead of pen1 as specified in the original entity definition.
22. From the Plotting menu, select Plotter colours, then Pen colour properties.
Notice that Pen1 has been assigned to black, Pen 2 to blue and Pen 3 to green. This
satisfies the criteria we set earlier regarding the use of different colours for different
strings.
56
24. From the Plotting menu, select Process, then Map.
25. Enter the map name as shown, and then click Apply.
57
27. Enter the information as shown, and then click Apply.
bore_plan.dwf is displayed.
58
28. From the File menu, select Print plot file.
59
Importing/Exporting Maps and Entities
Overview
Most of these entities are already loaded in the file which stores the map and entity
definitions, <installation directory> \share\plotting\library.dec
If you try to add an entity that already exists in the library, Surpac will beep to indicate that it
already has this entity definition.
60
3. From the Plotting menu, select Map, then Import.
We will now look at how to export Map and Entity definitions from Surpac. The entities will be
unloaded to a file which can then be loaded onto another computer.
Note: You can either choose which entities to unload by filling in the list, or unload all entities
by using an asterisk (*).
The entities will be downloaded to a file which can be loaded onto another computer.
4. Enter the text file name as shown, and then click Apply.
Note: You can either choose which maps to unload by filling in the list, or unload all
maps using an asterisk (*).
The maps will be unloaded to a file that can be loaded onto another computer.
61
Task: Creating a list of Map and Entity Definitions
Note: You can either choose which entities to report by filling in the list, or report all
entities using an asterisk (*).
Note: You can either choose which maps to report by filling in the list, or report all
maps using an asterisk (*).
62
Plan View Map of Drillhole Traces
Overview
In this section you will learn how to use previously created maps and entities to create plots in
both Plan and Section view.
In this exercise you will create a Plan view map using existing maps and entities.
63
3. Enter the information as shown, and then click Apply on each form.
64
The plot file will appear in the Plotting window as shown below:
65
Section View Map of Drillhole Data
66
3. Enter the information as shown, and then click Apply on each form.
Note: The ZXA0 grid is used for a section view, as it plots the label mRL on the grids
ascending the page, and Eastings on the grids going to the left of the page.
67
The plot is displayed as follows:
68
Next you will use a different drawing area to plot the data, and lock the lower left coordinates
of the plot.
Note: The VA1B drawing area is a view used with an A1 sheet that plots at the bottom of the
page. It encompasses about three quarters of the bottom area, but leaves a space at the top
for a narrow plan view strip.
The Landscape Fixed orientation locks down the lower left-hand corner of the map. As you
saw, when using the Landscape Centred orientation, the centre of the data is placed at the
centre of the map. For plotting a series of section maps, this would be OK if all the data for all
the sections had the exact same minimum and maximum data extents in elevation and
easting (or northing). However this is rarely the case, and it is also necessary to align the
upper (plan view) drawing area with the lower (section view) data. Therefore we must
establish a common easting value for the left edge of the drawing. The Landscape Fixed
orientation is almost always used when plotting a section view with a plan view strip at the
top.
69
6. Enter the information as shown, and then click Apply.
Note: Since we are processing a section view map, "Y" on this form refers to
elevation.
70
The plot is displayed in the plotting window as shown:
71
Creating Multi-Viewport Maps
Overview
In this section you will learn how to use more than one drawing area on a plot. This enables
you to plot both plan and section views of data on the same page.
You will now process the previous map again, combining the section view map with a plan
view map at the top of the page.
3. Right click in the blank space below the Section View entry and select Add to add
another row to the table.
72
5. Enter the data as shown, and then click Apply.
73
6. Enter the information as shown, and then click Apply.
74
7. Enter the information as shown, and then click Apply.
Note: You generally will want to show the entire area of influence for the section. These
sections were created using data 25m south and 25m north of the section line. Therefore
when you enter the reference corner for the plan view map for the 6800m N section, you will
want to lock the lower left corner of the map at 25m south of the section line, or 6800m – 25m
= 6775m. Note that this "Y" value is in plan view coordinates, not section coordinates (recall
that 25m RL was used on the map section view to lock the lower left coordinate of the section
drawing area).
75
8. Enter the information as shown, and then click Apply.
You will now see the map as shown, with the Plan view at the top (in drawing Area VA1T) and
the Section view at the bottom (in drawing area VA1B).
Notice that both maps are locked at 2300m E so that they align properly.
76
Task: Modifying an existing drawing area
Note that the section line of 6800m N in the plan view is not centred vertically in the drawing
area. It is 25m north of the lower left hand corner of the VA1T drawing area (as we specified),
but it does not show the full 25m extent of the section to the top edge of the drawing area.
You will now enlarge the drawing area VA1T so that it covers the extent of the section (25m
north and 25m south).
Enlarging the plan view drawing area also requires that the section view drawing area is
reduced in height.
4. Right click in the blank space below the VA1T entry and select Add to add another row
to the table.
77
5. Select VA1B for the second drawing area as shown, and then click Apply.
Notice that both drawing areas have been selected and so both drawing areas are displayed
on the screen.
78
6. From the Drawing areas menu, select Properties.
This will display the dimensions of the drawing areas.
Refer to the above diagram to understand the construction of the drawing areas.
VA1B
Left = 0.6 The distance in from the left edge of the plotting sheet to extent of the drawing
area.
Right = 0.6 The distance in from the right edge of the plotting sheet to extent of the drawing
area.
Bottom = 0.6 The distance in from the bottom edge of the plotting sheet to extent of the
drawing area.
Top = 10 The distance in from the top edge of the plotting sheet to extent of the drawing area.
VA1T
Left = 0.6 The distance in from the left edge of the plotting sheet to extent of the drawing
area.
Right = 0.6 The distance in from the right edge of the plotting sheet to extent of the drawing
area.
Bottom = 47 The distance in from the bottom edge of the plotting sheet to extent of the
drawing area.
Top = 0.1 The distance in from the top edge of the plotting sheet to extent of the drawing
area.
79
7. Enter a value of 10.6 for VA1B Top, and a value of 46.4 for VA1T Bottom.
Note: To rescale the drawing areas, you can either choose the properties function as shown
above, or you can move the boxes manually using the cursor.
8. From the Drawing areas menu, select Save, to save the modifications.
9. Click Apply.
10. From the Plotting menu, select Process, then Last map.
11. Enter the information on each form as shown previously in this section.
The resulting plot file will look like the image shown:
80
Task: Adding a Third Drawing Area
Now you will add a third drawing area to the map. In doing this you will keep the existing
drawing areas VA1T and VA1B, but copy them to new drawing areas, called Plan and
Section and modify them. Then you will add a new drawing area called LEGN in the upper
right hand corner of the sheet.
2. From the Drawing area menu, select Copy to copy the VA1T drawing area to a new
drawing area called PLAN.
Notice that the Right dimension for the sheet boundary has been changed to 17 cm
to create room for the LEGN drawing area.
81
4. The new PLAN drawing area appears on the screen as shown.
5. From the Drawing areas menu, select Save, to save the drawing area.
You will now repeat the above steps for the VA1B drawing area.
6. From the Drawing areas menu, select Copy, to copy the VA1B drawing area to a new
drawing area called SECTION
82
Notice that the Right dimension from the sheet boundary has been changed to 17cm to
create room for the LEGN drawing area.
8. From the Drawing areas menu, select Save to save the drawing area.
9. From the Drawing areas menu, choose Select and choose both of the drawing areas
to display on the screen.
83
The drawing areas appear as shown:
84
12. From the Drawing areas menu, select Save, to save the drawing areas.
13. From the Drawing areas menu, choose Select and enter the information as shown
85
14. From the Plotting menu, select Process, then Map.
15. Enter the information as shown, and then click Apply on all forms.
86
87
16. Enter the information as shown, and then click Apply.
Note: Make sure that you change the drawing area to PLAN (a drawing area for the top of an
A1 sheet) and the Title block is set to a "blank" for No title block.
88
89
Enter the information as shown, and then click Apply.
After the map has finished processing, it will appear in the Plot preview window.
90
You will see the map as shown, with drawing areas PLAN, SECTION, and LEGN.
91
Title Block Definitions
Overview
In this section you will learn how to create a new title block, as shown:
Note: You will make a copy of an existing title block as it will save setting up new lines,
prompt items etc. In most cases this will be the easiest way to create a new title block
as all items can be altered using the property command.
92
3. Enter the information as shown, and then click Apply.
Note: The only items you will need to type in are the new title ID and title description.
5. From the Title block menu, select Snap grid, then Properties.
You will use this to help align items on the title block.
6. Fill in the form as shown, then click Apply to create a snapping grid on 0.2cm
spacings.
93
7. From the Title Blocks menu, select Edit, then Delete item.
Next, you will add the company logo, stored in bluesky_logo.png, to the left of the text.
11. From the Title Blocks menu, select Create, then Image.
12. Click and drag a roughly square-shaped area to the left of the text “BLUE SKY
MINING”.
94
13. Enter the information as shown, and then click Apply.
14. From the Title Blocks menu, select Snap grid then Hide.
16. From the File menu, select Close to close the Plotting sheet setup window.
18. Enter the map name BLUESKY_TEST, and then click Apply.
95
19. Enter the following information, and then click Apply.
96
21. Enter the information as shown, and then click Apply on each form.
97
The plot and title block are displayed in the Plot Preview window.
98
Appendix 1: Plot Priorities
When defining an entity, you are asked to nominate a priority for the entity. This is common
to all entity definitions and is a way of controlling overwriting on plots.
All lines, symbols and text in entity definitions are assigned priorities in the range 0 to 125.
Different rules apply for priorities less than or equal to 100 and for those over 100.
A line will never clash a symbol off the plot and all lines of any priority cross without effect.
Two symbols with the same priority greater than 100 will overwrite.
99