1 Getting started

Starting Xplot2d

When you start Xplot2d (usually from Xop->Tools->Xplot2d) you get the window:

 

 

Because Xplot2d is used with large images, the image is scale to fit in the screen. The access to the scale menu is in View->Scale on Images (default 0.20). This scale is also available on the top-right angle of the main screen.

 

Reading your first image

Use File>Load Image to load an image. The first time you load an image you should tell Xplot2D your image format and other parameters. You can use  File->Set load image properties&ldots; to change it. You get this window:

 

 

Description of the entries

 

As an example, select PNG/TIFF/etc. format and load the image quartz2_007.jpg that you can find in the "examples" directory of the XOP installation. It corresponds to a diffraction pattern of quartz powder. You will never find a scientific image recorded in jpg format, because it is a compressed format with loss of information. However, for learning some of the features of Xplot2d this file is sufficient. After reading a data file and using color stretch (either defined in the loading menu, or by pressing the button) and you will get something like:

 

 

 

Navigating into menus

In the Edit menu, you have:

 

 

In the View menu you have a number of options to display better your image.

 

 

You can define here the scale factor. If the scale factor is high, your image may not be fully displayed in the screen. In such a case, you should use the Scroll Palette to move the image in the view window. Also in this case, you could pick and displace the image with the mouse.

 

This menu also includes tools to better match the image intensity with colors. Particularly useful are the items "Toggle Log/Linear Scale" and "Intensity <->Color Table". The latter includes the "color stretch" also available with the button in the main panel.

 

The Xplot2D id number (also displayed in the main bar) is useful to paste images from one Xplot2D window to another (using Edit>Paste special...)

 

In the Calculation menu you will find:

 

 

You also find a Toolbar in the main Xplot2D window:

 

 

Zooming

 

A zoom tool is not directly integrated in XPlot2D. However you can zoom the image by