User’s Manual for SyGRD (System of Graph Reading andnumerical data Displaying with image analysis software)
Version 2.00
Ohmi, Hirokazu and JCPRG 1
October 12, 2001
Revised March 9, 2002 2

1
2

an abbreviation of Japan Charged Particle Nuclear Reaction Data Groupfor additional explanation of the operation on Windows XP

Contents
1 Introduction
1.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3
3

2 System Requirements
2.1 Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2 Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3 Setup of SyGRD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5
5
5
6

3 Reading procedure of graph data
3.0 Procedure 0 : Before beginning of reading data on graph : graph scanning or getting graphimage ﬁles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.1 Procedure 1 : Starting an image analysis software . . . . . . . . . . . . . . . . . . . . . . .
3.2 Procedure 2 : Arrengement of window positions in image analysis software . . . . . . . . .
3.3 Procedure 3 : Loading of macro program . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.4 Procedure 4 : Loading image (graph) ﬁle to read . . . . . . . . . . . . . . . . . . . . . . .
3.5 Procedure 5 : Starting of macro program . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.6 Procedure 6 : Regulation of size of image (graph) window . . . . . . . . . . . . . . . . . .
3.7 Procedure 7 : Input of type of the axis of graph . . . . . . . . . . . . . . . . . . . . . . . .
3.8 Procedure 8 : Input of datum points of graph for reading values . . . . . . . . . . . . . .
3.9 Procedure 9 : Selection of type of error bar (type of data) . . . . . . . . . . . . . . . . . .
3.10 Procedure 10 : Starting read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.11 Procedure 11 : Reading procedure with various matters that require attention . . . . . . .
3.11.1 Zoom/unzoom and scroll method of image during reading . . . . . . . . . . . . . .
3.11.2 Order of reading data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.11.3 Order in reading data with error bar . . . . . . . . . . . . . . . . . . . . . . . . . .
3.11.4 Shift key operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.11.5 Attention for moving image (graph) window . . . . . . . . . . . . . . . . . . . . . .
3.12 Procedure 12 : Finishing read, and preservation of reading results . . . . . . . . . . . . . .

7
7
8
8
9
9
10
10
11
11
13
14
15
15
15
16
16
18
18

4 Zoom/unzoom and scroll method of image
4.1 Preparing for zoom or scroll . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1.1 Procedure for zoom/unzoom graph . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1.2 Procedure for scroll graph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2 Procedure after zoom or scroll and its attention . . . . . . . . . . . . . . . . . . . . . . . .

22
22
22
23
23

1

CONTENTS

2

5 Notes on use
5.1 Maximum number of reading data points . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.2 Restriction of click of mouse button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3 Type of image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.4 Relation of vertical and horizontal axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.5 Attentions for using Scion Image for Windows on Windows series . . . . . . . . . . . . . .
5.5.1 Font size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.5.2 Operating by limited user on Windows XP . . . . . . . . . . . . . . . . . . . . . .
5.5.3 Problem of macro program “00edigit.txt” on Windows XP . . . . . . . . . . . . .

24
24
24
24
25
25
25
25
25

6 Questions and Answers

27

7 Copyrights and Licensing
7.1 Copyrights and trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.2 License for use, modiﬁcation and redistribution of SyGRD . . . . . . . . . . . . . . . . . .
7.3 Disclaimer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.4 Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

29
29
29
29
30

History of this manualChapter 1

Introduction
This is user’s manual of SyGRD ([sigúrd]), which is an abbreviation of “System of Graph Reading andnumerical data Displaying with image analysis software”. SyGRD is built by the macro program ﬁleand some image and text ﬁles running on “Scion Image for Windows” and “NIH Image”. Scion Imageis an image processing and analysis program for Windows OS. It is based on the popular image analysis
software, NIH Image on the Macintosh platform. Although the macro program running on Scion Image
for Windows also runs on NIH Image, a slight replacement of commands in the macro program is needed.
In this manual, the macro program running on Scion Image for Windows is mainly explained.

1.1

Overview

SyGRD is the system that reads and outputs the numerical value of points on a graph. It is the mostimportant one in case the reading numerical data of the points on a graph, which is printed by thescholarly journal etc. or is released by the PDF ﬁle etc. on on-line (electric) journal that “The error at
the time of reading is reduced as much as possible.”. This graph reading and numerical data displaying
system, SyGRD, was developed in order to reduce such a reading error as much as possible. There arefollowing features of this system:• From the read of the numerical value of the points on a graph to the output of results, it is altogether
possible on one computer.
• Reading operation can be performed in assembly line using a mouse except a input of numeric value
from a keyboard.
• A graph wanted to read is scanned from printed matter or copied from electric journal distributed
as a PDF ﬁle etc., and displayed on image analysis software as an image data. Therefore, zoomingof a graph image can be done easily and thus a precise reading will be carried.
• GUI (Graphical User Interface)-like operation method is adopted, so that user can work easily.
• Since the point wanting to read numerical value on a graph is speciﬁed surely by the mouse pointer,
the numerical error caused by blurring of a mouse (hand) is completely eliminated.
• Since the data points already read is marked by colored points, a graph reader will avoid a missreading, for example, double-reading of one point, skipping over the point to read or reading position
being out of the position wanting to read.

3

CHAPTER 1. INTRODUCTION4• A vertical axis and a horizontal axis can be speciﬁed either in a linear scale or a common-logarithms
scale.
• The numerical value to read can be limited to be integer value.
• The graph with various type of error bar can be read, and the reader can select the type of error
bar every time during graph reading.
• Since SyGRD is made by using the macro programming function of image analysis software, thissystem can be customized freely.
Required hardwares are only a main part of a personal computer and a scanner. Reader can perform
reading work only by memorizing basic operation of Windows or Mac OS, and the operation on a macro
program. The ﬂow of rough work of graph reading is as follows:
1) Scan of the graph is carried out with a scanner (or getting image data of graph from such as PDFﬁles), and it takes in to a computer.
2) The macro program of the image analysis software is started and data is read.
3) The read numerical data is stored in a computer as a ﬁle.

Chapter 2

System Requirements
2.1

SoftwareFor using SyGRD, an image analysis software, “NIH Image” or “Scion Image for Windows”, must be
installed in the computer. NIH Image is widely used in the ﬁeld of medicine or biology as the image
analysis software for Macintosh computer. Scion Image for Windows is the Windows transplant version
of NIH Image.
Since NIH Image is a public domain software, the software can be freely downloaded form NIH
Image Web site (http://rsb.info.nih.gov/nih-image/). Scion Image for Windows is transplanted by Scion
Corporation. However, Beta version of it is a free software and can be downloaded from Scion Corp. Web
site (http://www.scioncorp.com/).

2.2

Hardware• Computer (Environment of image analysis software for operation)– For using Scion Image for Windows
Microsoft Windows 9x/Me, Windows NT4.0/2000/XP or subsequent ones
(Windows 3.1 is improper since Scion Image for Windows operates by 32OS
bit.)Intel MMX Pentium 133MHz (Pentium II 233MHz or more CPU is recomCPU
mended.)RAM of the size from which at least 4MB of free memory domain is secured
Memory(generally at least 128 MB is recommended for recent Windows OS.)
DirectX correspondence video card (Since big load is applied to a computerVideo Card for image processing during graph reading, the video card with as high2D-display capability as possible is more desirable.)
Other
Microsoft DirectX extensions to be installed– For using NIH Image (Macintosh computer)OS
Mac OS System 7.0 or subsequent ones
CPU to which Mac OS System 7.0 or subsequent ones operates (PowerPCCPU
is recommended.)
RAM of the size from which at least 4MB of free memory domain is secured
Memory(64MB or more is recommended.)5

CHAPTER 2. SYSTEM REQUIREMENTS

6– Common to Scion Image for Windows/NIH Image
Availability of about 7MB (for installation of an image analHard disk availability ysis software) + that for saving the graph image ﬁles to read,and numerical results as text ﬁlesDisplay in which 1024×768 pixel and 256 colors or more is
Display
possible
Operating devices
A mouse and keyboard – indispensable
Scanner which has 400 or more dpi of resolution (600 or more
Scanner
dpi of resolution is recommended.)

2.3

Setup of SyGRD

If a set of a personal computer, a scanner, the image analysis software, macro program ﬁle and the ﬁlegroup that accompanies it are prepared, anyone can use SyGRD anywhere. The brief procedure of a
setup of this system is as follows:(1) Connection of a personal computer with a scanner and setup of the scanner.
(2) Installation of an image analysis software and change of a setup of the software.
(3) Installation of SyGRD, containing a macro program ﬁle and the ﬁle group that accompanies it.
The details of installation and setup procedure are explained in “Installation Manual for SyGRD”, andare omitted in this manual.

Chapter 3

Reading procedure of graph data
In this chapter, the reading procedure of graph data is explained in a tutorial form. Although Scion Image
for Windows is used for explanation, the procedure is almost the same also on NIH Image. Hereafter,
an image analysis software will be installed in the c:/ScnImage folder in hard disk of a computer, and amacro program (ﬁlename “00edigit.txt”) will be in the c:/ScnImage/work folder that is made as a folder
for the work of the graph reading and the explanation is started.

3.0

Procedure 0 : Before beginning of reading data on graph :graph scanning or getting graph image files

Before beginning read of graph data, scan of the graph with a scanner to read is carried out. When
carrying out scan a printed graph, following points should be cared:• A setup of scanning must be “2-colors (perfect black and white only)”. If monochrome or a color
scanning is carried out, a display of an inner graph image becomes amusing.
• Although resolution is related with the size of a graph, the desirable resolution will be about 400–
600 dpi. However, scanned image must be smaller than the display width. If not, the image window
cannot be resized so that graph reading may be impossible.
• A scanned image must be saved as Windows bitmap format or TIFF format (if using Macintosh
computer, saved as TIFF format) in the folder for work (c:/ScnImage/work) which is made after
installation of the image analysis software. However, since the 1-bit (2-colors) Windows bitmap ﬁlescannot be used on Scion Image for Windows (this is a speciﬁcation of Scion Image for Windows),
the 1-bit (2-colors) Windows bitmap ﬁles must be translated to at least the 8-bit (65536-colors)
Windows bitmap ﬁles by using the other software (such as “Paint” software in Windows, “Paint
Shop” and so on).
As a substitute for graph scanning, you can also get graph images directly from a PDF ﬁle etc. on
on-line (electric) journal. In this case, the image ﬁle must be translated to the “2-colors (perfect black andwhite only)” form and furthermore translated to the 16-bit (65536-colors) or more-bit Windows bitmap
ﬁle (or TIFF format ﬁle) before saving in the folder. Read also section 5.3.
Graph image files and a macro program file (00edigit.txt) must be put absolutely into
the same folder. Never move or delete the folder c:/ScnImage/work/ifg and files in thefolder.

7

CHAPTER 3. READING PROCEDURE OF GRAPH DATA

3.1

8Procedure 1 : Starting an image analysis software

After preparing graph image ﬁles which you want to read, start the installed image analysis software(Scion Image for Windows or NIH Image). Next, click a “Window Maximization” button displayed on
the right side of the title bar of Scion Image for Windows (Fig. 3.1), when using Scion Image software.
If the window of Scion Image is not maximized, the values reading from a graph image
may be incorrect (this is also a bug in Scion Image for Windows).

Figure 3.1: Title bar of Scion Image for Windows

3.2

Procedure 2 : Arrengement of window positions in image
analysis software

When you start the image analysis software, some windows are displayed in the root window of the image
analysis software. These windows can be dragged around the screen by their title bar. In addition, theInfo window can be resized by dragging a corner or a side of the window. Among these windows, theimportant windows for graph reading is the Info window and Tools window.
The Info window (Fig. 3.2) displays the current state or procedures during graph reading. The Tools
window (Fig. 3.3) uses for scrolling or zooming (and unzooming) image in the window.

Figure 3.2: Info window
Figure 3.4: Overview of desktop image
Figure 3.3: Tools window
Since above two windows must be shown at all times during reading, these windows are moved by ascreen right end so that it may not overlap. Other windows may be arranged anywhere if these do not
overlap with the two above-mentioned windows (Fig. 3.4).

CHAPTER 3. READING PROCEDURE OF GRAPH DATA

3.3

Procedure 3 : Loading of macro program

Click “Special” on a menu bar and then click“Load Macros...”. After displayed a ﬁle selection dialog box, select and load the macro program ﬁle (ﬁlename is “00edigit.txt” for Scion Image for Windows1 ,“00edigit.text” for NIH Image) in the folder for work
(c:/ScnImage/work).

Figure 3.5: Loading the macro program

3.4

Procedure 4 : Loading image (graph) file to read

Click “File” on a menu bar and then click “Open...”.
After a ﬁle selection dialog box is displayed, select andload the image (graph) ﬁle previously (Procedure 0)
saved in the folder for work (c:/ScnImage/work). The
image window is created and selected image (graph) is
displayed.

Figure 3.6: Loading the image (graph) ﬁle

1 “.txt” may not be shown owing to the your computer’s setting.

9CHAPTER 3. READING PROCEDURE OF GRAPH DATA

3.5

Procedure 5 : Starting of macro program

The macro program is assigned tothe ‘D’ key. Whenyou push the ‘D’key, the macro program starts and it
becomes a screen as
the right ﬁgure. In
the center of a screen,
the message dialog
box written “Pleaseresize the width of
Image (graph) Window so as to show
below OK button.”
is displayed. Neverclick “OK” button yet.

3.6

10

Figure 3.7: Desktop image immediately after starting macro program

Procedure 6 : Regulation of size of image (graph) window

If the “OK” button in the message
dialog box is hidden by the image(graph) window, youmust resize the image window. Drag
the right end of theimage window andresize the window so
as to show the “OK”
button in the center of the message
dialog box. Don’t
move the position orleft end of the image window by anymeans.
After ﬁnishing of
Figure 3.8: Resize image window so as to show “OK” button
resizing the image
window, click the “OK” button in dialog box ﬁnally.

CHAPTER 3. READING PROCEDURE OF GRAPH DATA

3.7

11

Procedure 7 : Input of type of the axis of graph

After clicking the “OK” button, theimage window for inputting the typeof the axis of the graph is displayedon the screen upper left. In thewindow, the words such as “LINEAR” are displayed beside the Xand Y-axis. The type of the axis of
the graph can be decided by clicking
these words. Each word is changed
alternately as
LINEAR
REAL

⇔
⇔

LOG10
INTEGERby clicking the words. Each axis of
the graph to read speciﬁes alignment,
linear or common logarithms, or areal numerical value or integer value
by clicking each word. Moreover, if
you want to change factors (magniﬁcation of value on axes), click thewords “xfactor” and “yfactor”. After
clicking the word “xfactor” or “yfactor”, the dialog box inputting a facFigure 3.9: Input window of type of axis of graphtor is displayed. Input the value ofa factor from a keyboard and click a“OK” button in the dialog box. It is also possible to input an index type numerical value like 1.2e−5(= 1.2 × 10−5 ).
After the input of the type of the axis being finished, click the word “OK” in the upper
left of the window.

3.8

Procedure 8 : Input of datum points of graph for reading
valuesAfter decided the type of the axis of the graph, the values of two points on a vertical axis and a horizontal
axis are inputted in order to decide the numerical value of a point on graph. The values of two pointsof a vertical axis are inputted ﬁrst, and next, the values of two points of a horizontal axis are inputted.
Input is performed by ﬁrst clicking a pointer at the arbitrary points on an axis, and next inputting thevalue of the position. If the axis has overflowed the screen, or you want to expand a image
and set a pointer by the point on an axis precisely, carry out the operations explained in
Chapter 4.

CHAPTER 3. READING PROCEDURE OF GRAPH DATA

12

If the point on an axis isclicked, the ‘×’ mark will bedrawn at the pointer position
and the window that demands
a numerical input as shown in
the right ﬁgure is opened. You
input the value of the positionof the ‘×’ mark in the box of
the window. The input of anindex type numerical value like
‘1.2e+5’, as in the case of axis
scale input, is possible. Aftera numerical value is inputted,
click the “OK” button.
Figure 3.10: Input value on an axis of graph
Then, the inputted value is drawn by the side of the ‘×’ mark and the window that checks whether
it is good for the numerical value inputted is opened. If inputted value is not wrong, click the “OK”
button.
When wrong, you change
the letter ‘y’ in the box of thewindow to ‘n’ and click the“OK” button. Since the inputted numerical value is canceled, it clicks the point on an
axis again and inputs value.

The above thing is repeated four times, two on a
vertical axis, and two on a horizontal axis. Although the order of input of numerical value
on an axis is no matter, horiFigure 3.11: Conﬁrmation of inputted value
zontal axes are surely inputted
after two vertical axes and it is desirable that the interval of two input points on same axis is as large as
possible.

CHAPTER 3. READING PROCEDURE OF GRAPH DATA

13

Figure 3.13: Info window
displayed inputted values
After ﬁnishing four points
of inputs, the window for performing a ﬁnal check opens(Fig. 3.12). Since the information of previous inputted types
Figure 3.12: Final conﬁrmation of inputted valuesof axis and value on axis isdisplayed in the Info window(Fig. 3.13), check the previous work and click the “OK” button if there is no matter.
If you ﬁnd some mistake, you change the letter ‘y’ in the box of the check window to ‘n’ and click the“OK” button. Since the inputted numerical value is all canceled, the work of the inputs of value on axis
from the beginning of Procedure 8.

3.9

Procedure 9 : Selection of type of error bar (type of data)

Next, as shown in the right ﬁgure,an icon-like list of the type of data
is displayed on the screen upper left.
Choose and click the type of thedata of the graph to read among alist. Then, a dialog box that checks
whether it is good for the type of datais opened. If selected type is correct,
click the “OK” button.
If the selection is not correct you
change the letter ‘y’ in the box of
the window to ‘n’ and click the “OK”
Figure 3.14: Selection of type of error bar
button. Since it will return to selection of the type of data, choose the type of data again.

CHAPTER 3. READING PROCEDURE OF GRAPH DATA

14

Explanation of each icon (type of data)

Data without error bars

The case for error bar being symmetrical with the upper and lower
sides from the central point

The case for error bar being asymmetrical with the upper and lower
sides from the central point

The case for error bar being symmetrical with the left and right sides
from the central point

The case for error bar being symmetrical with the upper and lower,
the left and right from the central
point

The case for error bar being asymmetrical with the upper and lower
sides, while symmetrical with theleft and right from the central point
The case for error bar being asymmetrical with the left and rightsides, while symmetrical with theupper and lower from the central
point
A macro program is terminated.
Since it becomes invalid all theinformation inputted until now,
when you use it, be careful.

The case for error bar being asymmetrical with the left and right sides
from the central point
The case for error bar being asymmetrical with the upper and lower,
the left and right from the central
point

3.10

Procedure 10 : Starting read

When selection of the type of data(error bar) ﬁnishes, the message dialog box written in “Now starting toread the values on the graph.” is displayed (Fig. 3.15).
The reading numerical data of thegraph starts when you click the “OK”
button in the message dialog box.
If you move mouse pointer on theimage (graph) window and click data
points or edges of error bar, the numerical value of the point will be
read.
When the position that you want
Figure 3.15: Start message of reading
to read the value is clicked, the pointwith colors corresponding to the data point or each error bar (ABCDE) is displayed on its position. By
these colored points, you can check that whether the position that you want to read is exactly read. By
checking the positions of the colored points, it is prevented that the reading mistake by misreading that
occurred the mouse moving before clicking, a mistake of double reading, and so on.
If the button of a mouse is clicked, the warning sound registered into your computer will sound. It
can be conﬁrmed whether the button of a mouse was clicked certainly by listening this sound.

CHAPTER 3. READING PROCEDURE OF GRAPH DATA

15

The current situation is expressed in the Info window as real time.

1
2
3

4
5
6
7

The color index speciﬁed by color palette
on a mouse pointerThe current state (now reading state)
The current pointer coordinate on an image window, where the origin is at theupper left-hand corner of an image
The current pointer coordinate on agraph, where the coordinates is speciﬁedby Procedure 8
The color index on a mouse pointer (0 ifwhite)The type of data (error bar). A letter inparentheses shows next point to read ina set of data.
The number of read data (number of center of data with error bar)
Figure 3.16: A sample of Info window during reading

3.11

Procedure 11 : Reading procedure with various mattersthat require attention

3.11.1

Zoom/unzoom and scroll method of image during reading

If a point to read has overﬂowed the screen and want to scroll, or to zoom a image for setting a pointer ona reading point correctly, the operations explained in Chapter 4 should be performed. This performanceis same as that mentioned in Section 3.8.

3.11.2

Order of reading data

The data point (center of data, not error bar) must be read from the point that has a smaller value of
X-coordinates to that has a larger value. If this order is not kept, below the message is displayed. If “OK”

Figure 3.17: Message dialog box for caution of reading orderbutton is clicked, it will return to a usual reading state. After ending reading, a dialog box that conﬁrms

CHAPTER 3. READING PROCEDURE OF GRAPH DATA

16

whether sorting is performed, so that the value of X-coordinates in the numerical order is displayed. The
details of this dialog box are explained in Section 3.12.

3.11.3

Order in reading data with error bar

There is a rule of order in reading of the data point with error bar.

Order of clicking points of the data with error bar
A→B

A→B→C

D→B

A→B→D

A→B→C→D

D→B→E

A→B→D→E

A→B→C→D→E

Since reading order is ﬁxed, click data point with error bar in due above order. While reading thedata point, next reading point (expressed in a letter of ABCDE) is shown in the Info window. Input
mistake will decrease, if you click data points as checking the Info window.

3.11.4

Shift key operation

For doing various operations
under reading mode, for example, deletion of mistakenly
read data, and input inﬁnite
or unknown number as thevalue of error bar, and so on,push a “Shift” key. Whenpushing a “Shift” key, a iconlike menu-bar is displayed at
the upper left-hand corner ofan image. Various operations
are performed by clicking eachicon of a menu-bar.

Figure 3.18: Displayed an icon-like menu-bar

CHAPTER 3. READING PROCEDURE OF GRAPH DATA

17

Explanation of each icon of a menu-bar
Finishing reading numerical values on a graph. Read numerical data are displayed in a text window.

Deleting one last read numerical data and reading is redone. Deleting can bedone only one last point.
Deleting the data point including the error bar under present reading andreading is redone. For example, when reading ABC type data and next reading
C point, the read value of A and B points will be deleted, and it will redo readingfrom A point. When next reading is A point, all read value of previous data
points (A, B and C) is deleted, and it will redo reading from previous A point.
Choosing this icon if an error has inﬁnite value. Never click on a graph(image) window in this case.
Choosing this icon if an error has negligible value (or an error is so small thatthe value cannot be speciﬁed). Never click on a graph (image) window
in this case.
Changing the type of data (error bar) in the middle of reading. After changeof the type of data, you can read data continuously again.
A graph image window is moved to the position of the upper left corner onwhich should originally exist. When the graph picture window has been
moved by mistake, choose this icon immediately. Then the window
is move to the original position again.
A macro program is forced to terminate. Since a read result is not outputted, be careful at the time of selection of this icon.

Nothing is carried out but it returns to the graph reading mode. It is used for
returning to the graph reading mode when pushing a “Shift” key mistakenly.

When an icon is chosen, the dialog box for a check opens. If the selection is correct, only click a “OK”
button and then processing corresponding to each icon will be performed. If wrong, change a letter “y”
to “n” in the dialog box and click a “OK” button. In this case, it will return to the selection of an iconmode.

CHAPTER 3. READING PROCEDURE OF GRAPH DATA

3.11.518

Attention for moving image (graph) window

When you are working on Windows OS, never move the image (graph) window where the image
is displayed during data reading. If it should have moved, immediately push a “Shift” key andclickicon for returning a window position. If not, numerical values of reading data may be

wrong (this is caused by the bug in Scion Image for Windows).

3.12

Procedure 12 : Finishing read, and preservation of reading
results

If reading of all the data is completed, push a “Shift” key and clickfrom a menu-bar. Since

the dialog box for a check is displayed, click a “OK” button.

Then, the dialog box that tells ﬁnished reading of
data, as shown in Figure 3.19, is displayed. Click a “OK”
button and then the reading data mode is ﬁnished.

Figure 3.19: End reading dialog box

When you have not read the data in the increasing
X-coordinate order for central points (from lower to upper), a dialog box that conﬁrms whether sorting the datais performed or not is displayed (Figure 3.20). If you wantto sort, click a OK button and then reading data points
are sorted automatically. If you do not want, delete “y”
in the dialog box, input “n”, and then click a “OK” button.
Figure 3.20: Dialog box for conﬁrmation ofsorting
The numerical read data are displayed on a “Notepad” window as shown in the following Figure 3.21.
The outputted format of numerical data is based upon NRDF (an abbreviation of Nuclear Reaction Data
File) that has been compiled by JCPRG. However, you will be easily draw a graph of the outputted
numerical data if you use a graph displaying software such as Gnuplot.

CHAPTER 3. READING PROCEDURE OF GRAPH DATA

19

Figure 3.21: Results displayed in “Notepad”

The details of format of ﬁles are as follows:
1st line
2nd line
3rd line
4th line
5th line
6th line
7th line
8th line
9th line
and after

the line for inputting the ﬁle name of this outputted ﬁlethe date of data being outputted (automatically entered)
the time of data being outputted (automatically entered)
the line for writing memo if need
the line for writing the names (or NRDF code) of physical value and so on
the line for writing the names (or NRDF code) of units of data
type of X-coordinate and the values of datum points on X-axis (automatically entered)type of Y-coordinate and the values of datum points on Y-axis (automatically entered)numerical value of reading data

The number (from 1 to 4), which is entered the head of 9th line and after, is shown the type of data(error bar)2 . The correspondence of the number, type of error bar and outputted format is as follows:
number1

type of error bar
B

2

AB, ABC

3

BD, DBE

4

ABD, ABCD,
ABDE, ABCDE

format of outputted data (“,” means a space)X-coordinate, Y-coordinate
X-coordinate of B point, Y-coordinate of B point,
value of error of data along +Y-axis,
value of error of data along −Y-axis
X-coordinate of B point,
value of error of data along +X-axis,
value of error of data along −X-axis,
Y-coordinate of B point
X-coordinate of B point,
value of error of data along +X-axis,
value of error of data along −X-axis,
Y-coordinate of B point,
value of error of data along +Y-axis,
value of error of data along −Y-axis

2 The details of type of error bar are written in sectin 3.9.

CHAPTER 3. READING PROCEDURE OF GRAPH DATA

20

After inputting the data headings (Physical values), units and so on in a “Notepad” window if youneed, click × button at the upper right of the window. Since it checks whether it saves or not, click a“YES” button and input save ﬁle name and click a “OK” button.
When there are many amounts of reading of data, a result is divided and displayed on two or more
windows. The turn of an output is expressed with the number after the letters “res” on each window
title. Save each data in windows and after combining all the data by using some text editor software that
can treat big size ﬁle in this case.

Furthermore, based on the readdata, graph is drawn on a graphimage window. You can conﬁrm
whether reading was performed correctly by checking this on a screen.

Figure 3.22: Image window drawn a graph

On a screen, a dialog box shown right is also displayed. This inputs the number explained below in thewindow for choosing the following operation here. It progresses to the following processing by clicking a “OK”
button.

Figure 3.23: Dialog box for next operation

CHAPTER 3. READING PROCEDURE OF GRAPH DATA

21

Number and next processes
12
3

A macro program is terminated. When you want to perform a macro program again, pusha “D” key.
Loading another graph and re-start reading. After choosing the ﬁle of a new graph image,perform Procedure 6 : Regulation of the size of image (graph) window and following
procedure for reading a new graph.
The same graph is read again. It is convenient if you choose this number when two or moregraph is drawn on one screen or when you ﬁnd mistakes in the results of read data.

If you input number “1” in the dialog box and click a “OK” button, a macro program is terminated.
When closing the image (graph) window by clicking × button on the title bar, it is asked whether
saving the image ﬁle or not. Normally, click “NO”. Then you can terminate the image analysis software
immediately.
If you input number “2” in the dialog box and click a “OK” button, a dialog box for opening a newimage (graph) window. Select a new image ﬁle, and progress Procedure 6 : Regulation of the sizeof image (graph) window and following procedures for reading the new data.

If you input number “3” in the dialog box and clicka “OK” button, a dialog box is displayed for asking
whether the displayed image window that is drawn somenumbers, points and lines is refreshed (closed opened window and re-opened it) or not. When you click a “OK”
button only, the displayed image window is refreshed.
Figure 3.24: Dialog box for refreshing image
or notAfter performing Procedure 6 : Regulation of
the size of image (graph) window, a dialog box isdisplayed for asking whether re-input datum points on
Y-axis (vertical axis) or not. If you do not want it,
click a “OK” button only. If you want to re-input datum points of Y-axis (for example, when you want toread two or more graph that those scale of Y-axis are
diﬀerent), delete “n” in the dialog box, input “y”, and Figure 3.25: Dialog box for re-inputting dathen click a “OK” button. Procedure for inputting da- tum points on Y-axis
tum points on Y-axis is started and following proceduresare progressed.

Chapter 4

Zoom/unzoom and scroll method of
image
When clicking data points or datum points on an axis, you will sometimes want to zoom an image (graph)for precisely deciding the clicking point. In other case, since the size of image (graph) window must be
about a half of the desktop, some part of graph sticks out from the window, and thus you will want toscroll image for showing a hidden area. This chapter explains that the methods for zooming/unzooming
and scrolling of a graph in an image window.

4.1

Preparing for zoom or scroll

You cannot zoom or scroll
a graph in an image window at any time.
Beforedoing zoom or scroll procedure, you must push a “Ctrl”
key. When you push a “Ctrl”
key, a message dialog box(Fig. 4.1) written “Now you
can zoom, unzoom and scroll
image (graph).” is displayed
at the center of the desktop. Never click a “OK”
button before zooming or
scrolling. “OK” button isclicked after ﬁnishing zooming Figure 4.1: Message dialog box for announcement of prepared for zoom
or scrolling procedure.
or scroll

4.1.1

Procedure for zoom/unzoom graph

When you want to zoom/unzoom a graph image, for the ﬁrst time, click(Magnifying Glassicon) in the Info window. Next click within the image (graph) window at the position that you want tozoom. Eight magniﬁcation levels are available: 1:1, 2:1, 3:1, 4:1, 8:1, 16:1, 32:1 and 64:1. If you want to22

CHAPTER 4. ZOOM/UNZOOM AND SCROLL METHOD OF IMAGE

23

unzoom, click within the image (graph) window with pushing a “Ctrl” key.

4.1.2

Procedure for scroll graph

When you want to scroll a graph image, for the ﬁrst time, click(Scrolling Tool icon) in the

Info window. Next drag mouse within the image (graph) window in the direction you want to scroll agraph.

4.2

Procedure after zoom or scroll and its attention

If zoom or scroll is ﬁnished, click a “OK” button in the message dialog box (Fig. 4.1). The zoom andscroll procedures are terminated and it returns to the current state (Procedure 8 : Input of datum pointsof graph for reading values or Procedure 11 : Reading procedure).
During those procedures, never move the position an image (graph) window. If accidentally
moved it, push a “Shift” key and then move the image window to the normal position.

Chapter 5

Notes on use
5.1

Maximum number of reading data points

The maximum number of the data that can be read is about 8000 points. 8000 points include the edgeof error bars. For example, the data with the ABCDE type error bar (see section 3.9) can be read about
1600 data. When reading the number of data beyond 8000, it reads in several steps, and results are
combined each other later.

5.2

Restriction of click of mouse button

Don’t click the button of a mouse during macro program running except for the time of necessity. Thereis a possibility that the following problems may arise.
1. The mistaken numerical value is read.
If click places other than a graph (image) window accidentally during data reading, surely push a“Shift” key and delete data (select ”Delete” icon from a menu-bar).
2. A key (mouse) response becomes very late.
This tends to occur, especially when the title bar (portion as which the title of a window is displayed)of a window is clicked. Don’t click a title bar.
3. An unexpected error occurs and a macro program forces to terminate.
If a macro program forces to terminate, all read data will be also vanished. This phenomenon willtend to occur, when a mouse clicking unnecessary during data reading. Push the button of a mousecertainly only when required (Never click the button of a mouse any number of times when a mouseor key response is very slowly). Moreover, because this phenomenon frequently happens when theprocessing speed of a computer is not fast enough to run the macro program, this problem rarely
arises when using computers with the high performance of CPU and a video card.

5.3

Type of image

The format of image (graph) must be (Windows) BMP or TIFF format (restricted by image analysis
software). In order to clearing outlines of data, for example the edge of error bar, a graph image must be“black and white (only two colors of perfect white and perfect black)”. If not, when starting the macro

24

CHAPTER 5. NOTES ON USE

25

program, some area of image which seems to be black or white color become various colors and thus it
becomes hard to read the graph. However, since Scion Image for Windows can open only 16-bit or 24-bit
BMP ﬁles, the image ﬁles must be converted to 24-bit BMP ﬁles after converted “perfect black and white
only (1-bit)” ﬁles. Above procedure is applicable both scanning and copy from such as PDF images inelectric journal.
How to create the graph image ﬁles to read by Scion Image for Windows is as follows:
1. Create the graph image ﬁle by scanning the printed graph or copying the graph image from electricjournal distributed by such as PDF ﬁle.
2. Convert those image ﬁle to the “perfect black and white only (1-bit)” BMP file.
3. Re-convert the above image ﬁle to a 16- or 24-bit BMP file.
If you try to open an 1-bit BMP image ﬁles on Scion Image for Windows, an error message is displayed
and the software itself is forced to terminate (as of October 12, 2001).

5.4

Relation of vertical and horizontal axis

Even if the horizontal (X-)axis of graph image leans to the screen, exact values can be read form thatgraph image. However, if the graph does not have an orthogonal axis, exact values cannot be read. The
axes of graph to read must be at right angle.

5.5

Attentions for using Scion Image for Windows on Windows
series5.5.1

Font size

As explained in A.3.1 in Chapter 6, the top edge of image window must always exists perfectly on the
buttom line of the title bar of Scion Image for Windows for reading numerical values correctly. If the
font size of the desktop is larger than normal size, the width of the title bar of Scion Image become wide
and thus buttom of the title bar of Scion Image is overlapped the top of the image window. Therefore,
font size of the desktop must be normal size (mostly, this is default setting on Windows series).
However, some additional attention is needed when using Windows XP. Read also subsection 5.5.3 if you
are Windows XP user.

5.5.2

Operating by limited user on Windows XP

If a limited user (not an administrator) wants to use Scion Image for Windows on Windows XP, alimited user must be set up Scion Image for Windows running on “Windows 98 compatibility mode”.
The details of set up of “Windows 98 compatibility mode” are explained in Windows XP Help.

5.5.3

Problem of macro program “00edigit.txt” on Windows XP

On initial setting of UI (User Interface) of Windows XP, SyGRD does not operate normally (this relates
Q.3 in Chapter 6). To avoid this problem, there are two methods:
1. Change UI (window design) of Windows XP.
If you change window design of Windows XP, you can use SyGRD on Windows XP in the same
way as in other version of Windows. Open “Display Property” window and click “Design” tab.

CHAPTER 5. NOTES ON USE

26Then “window and button” setting changes from “Windows XP Style” to “Windows Classical”.
The details refer Windows XP help.
2. Use another macro program.
If you do not want to change UI of Windows XP, use macro program “00edigitXP.txt” instead of“00edigit.txt”. All operation when using “00edigitXP.txt” is the same as that in using “00edigit.txt”.
However, normal operation of SyGRD cannot be warranted when using “00edigitXP.txt” as ofMarch 9, 2002.

Chapter 6

Questions and Answers
Q.1 Sometimes the response of a key input and mouse click and change of message of Info window
become slow during graph reading. What should I do and why is this?
A.1 When it changes into such a state, push a “Ctrl” key continuously until a message window written“Now you can zoom, unzoom and scroll image (graph).” is opened, and then click a “OK” buttonin the message window. Mostly, the response will be recovered by doing this procedure.
This state arises with a very high probability when the title bar of any windows in Scion Image forWindows is clicked. Don’t click title bar during graph reading.

Q.2 During data reading, I push a “Shift” key and open the menu-bar. But even if click an icon in themenu-bar, sometimes it does not react. What should I do?.
A.2 Operation of a computer becomes slow especially immediately after a menu-bar display. Please wait
about 1 second. Mostly, it will normally react. Don’t click a button of mouse any numberof times, even though there is no response when clicking.

Q.3 Although a certain position on a graph image was clicked during data reading, the colored point
which shows already read is displayed on the place other than the clicked position. Why is this?
A.3 There are two reasons why such a problem arises.
1. The position of a graph image window has been moved.
When working by Scion Image for Windows, the graph image window must always touch
perfectly the left end of a screen, and under the title bar of Scion Image for Windows. If not,the coordinate in the image window does not correspond to that in the macro program (thisis also a bug of Scion Image for Windows). Push a “Shift” key and return a graph image
window to the suitable position. Read also section 5.5.1 and 5.5.3
2. The resolution of scanned or got graph image data is too low.
Within a computer, the graph image data which scanned or got from electric documents suchas PDF ﬁle is expressed by digitized per dot. Therefore, in case data is read, even if it clicks
the middle position of a dot and a dot, the point which displays the read position is displayedon the nearest dot from the clicked position. Above thing is related to reading numerical value
exactly. In order to read value exact, in case scan of the graph is carried out, it is required to27

CHAPTER 6. QUESTIONS AND ANSWERS

28

raise the resolution if possible and to increase the number of dots per unit length. However,
if resolution becomes high too much, the ﬁle size of a image becomes large. Moreover, a highresolution graph image window size becomes large and then any trouble may occur during
graph reading operation (for example, read next Question). The resolution of graph image
cannot be raised too much.
Q.4 When I load the large size graph image ﬁle which overﬂows the screen of a desktop and run a macro
program, the right end of a graph image window overﬂows a screen, and the size of the window
cannot be adjusted. What should I do?
A.4 This problem is generated for the speciﬁcation (it is also called a bug) of Scion Image for Windows.
This problem can be avoided by adjusting the width of the graph image window to less than about
95% of the maximum desktop width. When scanning a graph, the control of scanning resolution isneeded so that the width of the graph image dose not becomes too large.

Chapter 7

Copyrights and Licensing
7.1

Copyrights and trademarks

SyGRD, which is composed of the macro program ﬁles and the ﬁles group that accompanies the macro
programs, is copyrighted by JCPRG and OHMI, Hirokazu (O.H.).
Windows, Windows 3.1, Windows 95, Windows 98, Windows NT, Windows 2000, Windows Me andWindows XP are the registered trademarks of Microsoft Corporation. Apple, Mac OS, Macintosh, andPower Macintosh are registered trademarks of Apple Computer, Inc. Scion Image for Windows is theregistered trademark of Scion Corporation. In addition, generally the product name that appears in thismanual is the trademark or registered trademark of each company.
c r and TM marks are omitted in this paper.
All ,

7.2

License for use, modification and redistribution of SyGRD

Once you get SyGRD by copy or download and so on, you are automatically deemed to have agreed withall the provision in this chapter.
Because SyGRD is freeware, only for non-commercial use, SyGRD can be freely used, modiﬁed without
the copyright holder’s permission. You are allowed to redistribute SyGRD subject to following condition:• To distribute as an entire archive (within this manual).
• To be speciﬁed the modiﬁed places on redistributed ﬁles for redistributing modiﬁed SyGRD.
• You are not allowed to sell SyGRD.
As for the distributions of Scion Image for Windows and NIH Image, follow the license of each software.

7.3

Disclaimer• The author (O.H.), authority (JCPRG) of SyGRD and this manual take no responsibility to any
loss or damage caused by SyGRD.
• Copyright holders make no warrantees to users, express or implied, as to the performance of SyGRD.
However, the author and authority would welcome any mistakes and bug reports or suggestions
about SyGRD and this manual.

29

CHAPTER 7. COPYRIGHTS AND LICENSING

30• If new versions of the image analysis software, “NIH Image” or “Scion Image for Windows”, will
be released, copyright holders make no warrantees as to the performance of SyGRD on new version
software.

7.4

Acknowledgements

Prof. KATŌ, Kiyoshi and Dr. OHBAYASHI, Yoshihide gave O.H. about a basic concept of SyGRD.
YOSHIDA, Hitomi and ASHIZAWA, Takako gave O.H. valuable advices during development and improvement of SyGRD. O.H. would like to thank them and all persons supported the development andimprovement of SyGRD.

History of this manual• Changes in Version 1.00 (10/12/2001)– First released the user’s manual of SyGRD in Englsh (this manual).
• Changes in Version 1.10 (03/09/2002)– Revised mainly at Chapter 5 for additional explanation of the operation on Windows XP.
– Corrected some misprints in manual.
• Changes in Version 1.20 (03/27/2002) and 1.21 (05/07/2002)– Revised some part of Chapter 7.
– Corrected some misprints in manual.
• Changes in Version 2.00 (06/06/2002)– Corrected any mistakes in manual and released the new version of manual.

31