22 Extracting data points from a figure

JHepWork includes a remastered Dexter package written by Markus Demleitner. This is a tool to extract data from figures. To run this program, use:

>>> from debuxter import JDebux
>>> a=JDebux(file)  # file is the image file name

In this example, "file" is the file name of a GIF, PNG or JPEG figure. If you are lucky and have a PDF, EPS or PS figure, enlarge it as much as possible before converting it to GIF/PNG/JPEG format.

When you execute JDebux, you should see a frame with the inserted figure. Then read the HELP of this tool. You can find an example in the "dexter.py" file.