Close This Window

Merci de télécharger les logos officiels de l'ILL ici


Pour utiliser sur le web

Pour imprimer en haute résolution


Télécharger PNG

Télécharger TIF


Télécharger JPG

Télécharger EPS



Computing for Science

The Computing for Science (CS) group supports ILL scientists, students and visitors in a number of activities including data analysis, instrument simulation and sample simulation.

Back to ILL Homepage
English French Deutsch 

All Software

3. Displaying Data

The 'Display Workspace Area' showing a combined surface and contour plot
The 'Display Workspace Area' showing a combined surface and contour plot

Imagemap - Click on any point to go to the relevant paragraph.

Plotting a Workspace

By default the number of the last workspace that was modified appears in the Plot W# button. You can decrease or increase this number by pressing the "<-" or "->" buttons, respectively. When the button is pressed a plot is made according to the setting of the other buttons.

Below and Beside

By default the small plot-window (shown above) will be used for graphics, this is the Below setting. If Beside is selected plots will appear in a new window which can be rescaled and scrolled, each new plot (made by pressing Plot W# again) makes a new window which enables plots to be compared easily and stored as icons if desired. The Beside window also contains options for printing, changing colours and annotation (which have their own help files).

To top

Colours

Colours can be changed by pressing the Load new Colors button on the right of the main LAMP interface or the Edit menu_bar item (and also through the Beside window described above). This brings up the "XLOADCT" utility which changes the colours of all plots interactively.
Be careful not to plot black on black. If you experience problems type loadct,27 in the formula-entry window (or select Eos B in "XLoadCT"), this colour scheme will display most types of bidimensional data and also gives a white background to plots.

To top

"Be Good" or "Options->Plot..." Button

This button brings up a set preferences window, which allows you to change the titles (displayed on plots and printouts), default printer and various plot options, such as plotting surfaces with shading from a light source (default setting) or vectors which can give a multi-plot effect.

To top

Image, Contour and Surface

Any combination of these display styles can be selected (and diplayed by pressing Plot W# again) the Z rotation angle for surface plots is given in the box next to the surface button. This can be modified as desired then plot again or use the right-button of the mouse to dynamicaly choose an angle; the view angle (X rotation) is set in the Plot Options menu.
Remember that contour plots of noisy data can take a long time to generate (particularly with a log scale); Image is usually very fast.

To top

Ranges

Once the "Range etc.." button has been pressed the X, Y range and W lim buttons appear (shown above). If a button is deselected the full range will be taken, otherwise the desired range can be entered into the windows beside the buttons. There is also a W log button to display the intensities logarithmicaly (revealing small features).
N.B. If you change an X-scale from channels to energy (t2e) you may get a shock if you have selected an X-range based on channels! There is also a button to select a Regular Grid after converting to energy ie. to give a linear scale in energy rather than channels.

To top

Zoom

To zoom in on a region of a plot press the left mouse-button and drag out a rectangle enclosing the area of interest. When you release the mouse-button the zoomed area will be plotted. Unzoom by pressing Plot W#, or Replot in the Beside window.
Data in the zoomed area can be saved into a workspace (eg. w4) by entering trap,w4 in the formula-entry window.

To top

Cursor

Press the left mouse-button with the cursor-arrow in the Below plot window and the values of X, Y, and I (Intensity,W) will appear above the plot. Obviously the cursor cannot work on 3D surface plots.
Note: For simple x,y plots (eg. single spectra) the X and Y values can be displayed on the plot using the left and middle mouse-buttons respectively.
Press the right mouse-button to have access to your log-book. The image as other features should be included in this log-book (Html) which can be transformed in PDF file at the end of the experiment or analyses using your browser.

To top

Printing

Normally the correct printing device will be set so that you simply press the Print Below button to obtain a hard-copy. If no device is set LAMP will make a postscript file in your current path. The printing device is set in Plot Options. Also the Beside plot can be printed if the printer is set in Plot Options (Be good) otherwise just a postscript file is made.

To top

See Graphics on Common Workspace Fuctions page for direct methods of plotting data and setting plot ranges using the formula-entry window.

To top

Previous - 3. Displaying Data - Next