3.29 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.

After execution of JDebux, one should see a frame with the inserted figure. Then read the HELP of this tool. One can find an example in the dexter.py file.