User Tools

Site Tools


pegasus:plotter

This is an old revision of the document!


PEGASUS Plotter

PEGASUS is supplied with a built-in plotter tool allowing one to depict easily the produced differential cross sections and immediately compare them with experimental data. It is a quite independent tool and can be used apart from any calculations made within the PEGASUS. The program is very simple and intuitive.

As one calls the PEGASUS Plotter from the main menu of the PEGASUS (using the Tool → Plotter option, or via popup menu, or by pressing the corresponding button on button panel) an empty sheet is created. The following objects, stored in a plain data files, could be added to the sheet (by choosing Edit → Add option in the main menu or popup menu available with a right mouse button click on the sheet):

  • Curve. The data file should consist of two columns, corresponding to the rows of x and y values.
  • Histogram. The data file is the same, as for Curve. However, every y value should be mentioned twice, for the both borders of the corresponding bin.
  • Filled area. A three-columns data file should contain for every x value lower and upper values of y.
  • Text label. An arbitrary text note inside the plot sheet.
  • Experimental data. The data file should be in Gnuplot-compatible format with 6 columns, corresponding to x, y, lower and upper x values and lower and upper y values. Alternatively, the data files in standard *.yoda or *.csv format (available from HepData repository) can be uploaded.

As an object is added on the sheet, it can be selected with a left mouse button click and modified according to user own wishes either with a double click or with choosing option Edit → Plottable in the PEGASUS Plotter main menu or via popup menu. Then the text label in the legend and appearance of the selected object (for example, color, font, size etc) can be changed. If selected object is a Histogram, the fiducial cross section (integral with respect to the x variable) is shown in the status bar. One can also set a factor to scale the depicted cross sections using Edit → Multiply by a factor option in main menu or popup menu.

pegasus/plotter.1575907073.txt.gz · Last modified: 09/12/2019 18:57 by lipatov