Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Column
width70%

Introduction

The plotting menu lets you create plots interactively. The menu can be opened by going to:
Tools > Postscript Plotting

Image Removed
The Plotting Main Menu

...

width30%

...

Table of Contents
maxLevel3

Getting started

Overall process

The overall process of creating a postscript plot with the plotting panel is this:

  1. Find a plotting directory (Browse)
  2. Give the plot a name
  3. Go to 2. Layout, Margins and Data to set the main dataset and decide sizes and scales
  4. Add an element e.g. Axes and Frame
  5. Run the plot and inspect the result
  6. If OK Continue by adding another element, e.g. Lines and Points. Browse for a few lines, select how to display them and rerun the plot.
  7. Continue adding element by element and check by running the plot inbetween.

Select working directory

...

Wiki Markup
{section}
{column:width=70%}

h2. Introduction

The plotting menu lets you create plots interactively. The menu can be opened by going to:
*Tools > Postscript Plotting*




!att:_img_gen^Plotting_main.png|width=400!
_The Plotting Main Menu_
{column}
{column:width=30%}
\\
\\
*In this section:*
{toc:maxLevel=3}
{column}
{section}

h2. Getting started

h4. Overall process

The overall process of creating a postscript plot with the plotting panel is this:

# Find a plotting directory (Browse)
# Give the plot a name
# Go to *2. Layout, Margins and Data* to set the main dataset and decide sizes and scales
# Add an element e.g. *Axes and Frame*
# Run the plot and inspect the result
# If OK Continue by adding another element, e.g. *Lines and Points*. Browse for a few lines, select how to display them and rerun the plot.
# Continue adding element by element and check by running the plot inbetween.

h4. Select working directory

Since the plot ultimately will be a Postscript file, it is necessary to select a directory on disk. This directory must have the name *Plot*, e.g *"C:/tmp/Plot"*. No other directory name is accepted. In this directory both the postscript file and the *saveset* will be put.

h4.

...

 Create a saveset

...



Enter a name for the plot, e.g. "My plot". The name can be in one or more word, avoid special characters, but - + and space are accepted. Now you may save the saveset of the plot by pressing the *Save Saveset* button on the right. Now a file called *My plot.saveset* is saved in *C:/tmp/plot/* This *saveset* contains all setting for the plot named "My plot" and next time the dPlot main panel is activated, you'll find this saveset under *File > Recent saveset files*. Whenever changes are made to the settings of a plot, remember to save the saveset. "My plot" will produce the postscript file *My plot.ps

...

Tip

When working on a project, it is common to create a few layouts (savesets) and then produce a large number of plots in each layout. The layout is created by producing a plot. To create new plots, change the name and save the saveset. Then make the necessary changes to the new plot. A layout could be A4 Portrait used for all maps, then another layout for large regional maps, scaled 1:200000 and a third layout for thematic maps and a fourth layout for maps scaled 1:50000 zoomed into a prospect.

Initiate plot

Click Layout and Margins to open up the Initialization panel where the scale, layout and margins are set. In this panel you may also introduce a main dataset. This dataset is optional, but a grid is required if you want to display a contour map.

Image Removed
The Initiate plot panel

Observe that the sizes reported at the bottom change when the scaling, coordinates and margins are changed. Select a size that fits your needs and the limitations of your plotter. Your plot may either be scaled to the main dataset or to coordinates which are useful when you want to plot a subsection of the plot.

The margins should allow for the axes of the plots to be plotted in the margins. Also if the so called Gray Frame is used, the margins should be set to a little bit larger than the gray frame. The media selector has a few preset sizes a3/a4 and landscape/portrait that may be referred to as not scaled and a Scale 1: which will give a scaled plot.

Adding elements

Elements can be added to your plot, simply tick the checkbox in front of the element name. The ticked elements will be included in the plot. When an element is ticked, the settings menu belonging to that element will pop up. The settings menu will for many elements (navigation, lines/points, scripts, wells, pictures, text) allow input from file(s). To skip an element e.g. ÆLines and Points*, simply untick the checkbox.

Tip

While testing a new element on a plot it may be a good idea to untoggle time-consuming elements like Navigation and Contour Map while getting e.g. your Lines and Points right.

Draft run plot

To see how your plot looks like you can use the Draft Run button. This will produce the PostScript file a lot faster than the Run Plot button, because it uses coarser contouring. To see the plot click File > View plot in Ghostview. Every time you use the Draft Run button the PostScript file will be updated, so you only need to refresh the Ghostview application to see the changes.

Multiple plots

...

*

{tip}
When working on a project, it is common to create a few layouts (savesets) and then produce a large number of plots in each layout. The layout is created by producing a plot. To create new plots, change the name and save the saveset. Then make the necessary changes to the new plot. A layout could be A4 Portrait used for all maps, then another layout for large regional maps, scaled 1:200000 and a third layout for thematic maps and a fourth layout for maps scaled 1:50000 zoomed into a prospect.
{tip}

h4. Initiate plot

Click *Layout and Margins* to open up the Initialization panel where the scale, layout and margins are set. In this panel you may also introduce a main dataset. This dataset is optional, but a grid is required if you want to display a contour map.

!att:_img_gen^Plotting_initiate.png|height=600!
_The Initiate plot panel_

Observe that the sizes reported at the bottom change when the scaling, coordinates and margins are changed. Select a size that fits your needs and the limitations of your plotter. Your plot may either be scaled to the main dataset or to coordinates which are useful when you want to plot a subsection of the plot.

The margins should allow for the axes of the plots to be plotted in the margins. Also if the so called *Gray Frame* is used, the margins should be set to a little bit larger than the gray frame. The media selector has a few preset sizes *a3/a4* and *landscape/portrait* that may be referred to as not scaled and a *Scale 1:* which will give a scaled plot. 

h4. Adding elements

Elements can be added to your plot, simply tick the checkbox in front of the element name. The ticked elements will be included in the plot. When an element is ticked, the settings menu belonging to that element will pop up. The settings menu will for many elements (navigation, lines/points, scripts, wells, pictures, text) allow input from file(s). To skip an element e.g. ÆLines and Points*, simply untick the checkbox.

{tip}
While testing a new element on a plot it may be a good idea to untoggle time-consuming elements like *Navigation* and *Contour Map* while getting e.g. your *Lines and Points* right.
{tip}

h4. Draft run plot
To see how your plot looks like you can use the *Draft Run* button. This will produce the PostScript file a lot faster than the *Run Plot* button, because it uses coarser contouring. To see the plot click *File > View plot in Ghostview*. Every time you use the *Draft Run* button the PostScript file will be updated, so you only need to refresh the Ghostview application to see the changes.

h2. Multiple plots
Plotting often involves the creation of several maps. Press the Multi Run button to display the dialog for creating multiple map files. Browse in the names of the savesets you want to run.

{pagebreak}