| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
| 2 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| 3 |
<head> |
| 4 |
<meta name="author" content="Neuroinformatics Lab." /> |
| 5 |
<meta name="keywords" content="graph plotter linux windows macosx java open source free neuroinformatics" /> |
| 6 |
<meta name="description" content="Questions and Answers of the Samurai Graph" /> |
| 7 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 8 |
<meta http-equiv="Content-Style-Type" content="text/css" /> |
| 9 |
<meta http-equiv="Content-Script-Type" content="text/javascript" /> |
| 10 |
<link rel="stylesheet" type="text/css" href="samuraigraph.css" /> |
| 11 |
<link rel="icon" type="x-image/icon" href="favicon.ico" /> |
| 12 |
<link rel="INDEX" href="./index.html.en" /> |
| 13 |
<link rel="NEXT" href="./history.html.en" /> |
| 14 |
<link rel="PREV" href="./documents.html.en" /> |
| 15 |
<link rev="made" href="mailto:webmaster@ni.brain.riken.jp" /> |
| 16 |
<title>Samurai Graph : Q and A</title> |
| 17 |
|
| 18 |
<!-- Google Analytics tracking code --> |
| 19 |
<script type="text/javascript"> |
| 20 |
|
| 21 |
var _gaq = _gaq || []; |
| 22 |
_gaq.push(['_setAccount', 'UA-8593728-1']); |
| 23 |
_gaq.push(['_trackPageview']); |
| 24 |
|
| 25 |
(function() { |
| 26 |
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
| 27 |
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
| 28 |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
| 29 |
})(); |
| 30 |
|
| 31 |
</script> |
| 32 |
|
| 33 |
</head> |
| 34 |
<body> |
| 35 |
<div id="page"> |
| 36 |
<img id="logo" src="images/logo.gif" alt="logo" width="80" height="80" /> |
| 37 |
<h1 id="title">Samurai Graph</h1> |
| 38 |
<h2 id="subtitle">A highly functional and user-friendly graph plotter</h2> |
| 39 |
<div id="sectionnav"> |
| 40 |
<div id="sectionnav2"> |
| 41 |
<a href="index.html.en" title="The title page">Home</a> |
| 42 |
<a href="features.html.en" title="Samurai Graph features">Features</a> |
| 43 |
<a href="screenshots.html.en" title="See what it looks like">Screenshots</a> |
| 44 |
<a href="documents.html.en" title="Documents">Documents</a> |
| 45 |
<!-- |
| 46 |
<a href="manuals/en/" title="Samurai Graph Manual"> Manual</a> |
| 47 |
--> |
| 48 |
<a href="qanda.html.en" title="Q and A"> Q & A</a> |
| 49 |
<a href="history.html.en" title="Release Hisotry"> History</a> |
| 50 |
<a href="downloads.html.en" title="Downloads">Downloads</a> |
| 51 |
<a href="supports.html.en" title="Supports">Supports</a> |
| 52 |
<a href="links.html.en" title="Links">Links</a> |
| 53 |
<br /> |
| 54 |
</div> |
| 55 |
<div id="sectionnav3"> |
| 56 |
<a href="qanda.html.ja">[Japanese]</a> |
| 57 |
</div> |
| 58 |
<a href="http://www.brain.riken.jp/"><img src="images/bsilogo.gif" width="96" height="31" alt="RIKEN Brain Science Institute" style="border: none;" /></a> |
| 59 |
<a href="http://sourceforge.jp/"><img src="http://sourceforge.jp/sflogo.php?group_id=1142" width="96" height="31" alt="SourceForge.jp" style="border: none;" /></a> |
| 60 |
</div> |
| 61 |
|
| 62 |
<div id="content"> |
| 63 |
<h3>Samurai Graph Questions and Answers</h3> |
| 64 |
|
| 65 |
<div class="question"> |
| 66 |
<h4>Q1: What type of input data can I use?</h4> |
| 67 |
A: You can use CSV format text files. |
| 68 |
<!-- |
| 69 |
There are four acceptable data types as 2-dimensional data: Scalar XY, |
| 70 |
multiple XY, sampling XY and vector XY. |
| 71 |
--> |
| 72 |
There are three acceptable data types as 2-dimensional data: Scalar XY, |
| 73 |
multiple XY and sampling XY. |
| 74 |
Explanation of the file format of each data type is given as follows: |
| 75 |
|
| 76 |
<ul> |
| 77 |
<li>Scalar-XY<br /> |
| 78 |
This type of data consists of the pairs of X and Y values. |
| 79 |
Samurai Graph can draw lines, symbols and bars for this type of data. |
| 80 |
Together with error values and strings in data, it can draw error bars |
| 81 |
and tick labels additionally. |
| 82 |
For this type of data, there are four possible formats given as follows: |
| 83 |
<ol> |
| 84 |
<li>Two columns of numeric values. |
| 85 |
They are regarded as X values and Y values, respectively. |
| 86 |
</li> |
| 87 |
<li>Four columns of numeric values. |
| 88 |
They are regarded as X values, Y values, the lower and the |
| 89 |
upper error values, respectively. |
| 90 |
</li> |
| 91 |
<li>Two columns of numeric values and one column of strings. |
| 92 |
They are regarded as X values, Y values and strings for the |
| 93 |
tick labels, respectively. |
| 94 |
</li> |
| 95 |
<li>Four columns of numeric values and one column of strings. |
| 96 |
They are regarded as X values, Y values, the lower and the |
| 97 |
upper error values and strings for the tick labels, |
| 98 |
respectively. |
| 99 |
</li> |
| 100 |
</ol> |
| 101 |
In the case of 3 and 4, |
| 102 |
each string in input data must be written between two double |
| 103 |
quotation marks. |
| 104 |
</li> |
| 105 |
|
| 106 |
<li>Multiple-XY<br /> |
| 107 |
The multiple scalar type XY data. |
| 108 |
With this type of data, it is possible to draw multiple lines, symbols and bars. |
| 109 |
The input data must consists of columns of numeric values more than one. |
| 110 |
Values in the first row are regarded as X values, and others are |
| 111 |
regarded as multiple Y values. |
| 112 |
</li> |
| 113 |
|
| 114 |
<li>Sampling-XY<br /> |
| 115 |
This data format is similar to the multiple XY format except that a |
| 116 |
column for X values does not exist. The input data must consists of |
| 117 |
columns of numeric values, and they are regarded as multiple Y values. |
| 118 |
The X values are generated automatically by the sampling rate entered |
| 119 |
into the wizard dialog when users add this data to the figure. |
| 120 |
The interval is equal to the reciprocal number of the sampling rate, |
| 121 |
and the number of the X values is equal to that of the Y values. |
| 122 |
</li> |
| 123 |
|
| 124 |
<!-- |
| 125 |
<li>Vector-XY.<br /> |
| 126 |
This type of data consists of the set of vectors. |
| 127 |
For this type of data, this plotter can draw a vector diagram. |
| 128 |
The input data must consists of four columns of numbers. |
| 129 |
Values in the first two rows are regarded as X and Y coordinate of |
| 130 |
the starting point of the vectors. |
| 131 |
For the third and the fourth rows, users can select their meaning by |
| 132 |
the wizard dialog when users add this data. |
| 133 |
<ol> |
| 134 |
<li> |
| 135 |
The third values and the fourth value are regarded as the |
| 136 |
magnitude and the angle of each vector in polar coordinate. |
| 137 |
Angle values must be given in units of radian. |
| 138 |
</li> |
| 139 |
<li> |
| 140 |
The third and the fourth values are regarded as the X and Y |
| 141 |
components of each vector. |
| 142 |
</li> |
| 143 |
</ol> |
| 144 |
Note for all cases: |
| 145 |
The length of all columns must be the same. |
| 146 |
Values in each row must be separated by spaces, tabs or commas. |
| 147 |
</li> |
| 148 |
--> |
| 149 |
|
| 150 |
</ul> |
| 151 |
</div> |
| 152 |
|
| 153 |
<div class="question"> |
| 154 |
<h4>Q2: How do I plot the data?</h4> |
| 155 |
A: There are two ways to plot the data. |
| 156 |
<ul> |
| 157 |
<li>Drag and drop |
| 158 |
<ol> |
| 159 |
<li>Drag and drop the data file into the Samurai Graph window.</li> |
| 160 |
<li>A wizard dialog is displayed. Select the data type and press the |
| 161 |
OK button.</li> |
| 162 |
</ol> |
| 163 |
</li> |
| 164 |
<li>Tool bar / Menu bar |
| 165 |
<ol> |
| 166 |
<li>Press the button on a tool bar to add data, or execute the command |
| 167 |
[File]-[Draw Graph] in the menu bar.</li> |
| 168 |
<li>Wizard dialogs are displayed successively. |
| 169 |
<ol> |
| 170 |
<li>Select figure ID number and press the Next button.</li> |
| 171 |
<li>Choose a data file and press the Next button.</li> |
| 172 |
<li>Select the data type and press the OK button.</li> |
| 173 |
</ol> |
| 174 |
</li> |
| 175 |
</ol> |
| 176 |
</li> |
| 177 |
</ul> |
| 178 |
Note: |
| 179 |
<ul> |
| 180 |
<li> |
| 181 |
When the data is added, Samurai Graph classifies the input data into |
| 182 |
available data types and prompts users to select the data type using a |
| 183 |
wizard dialog, in which only radio button for the acceptable types are |
| 184 |
selectable. |
| 185 |
</li> |
| 186 |
<li> |
| 187 |
If the file is dropped onto the point out of figures or a figure with |
| 188 |
the ID of the user selected does not exist, a new figure is created |
| 189 |
automatically. |
| 190 |
</li> |
| 191 |
<li> |
| 192 |
The legend of data in the figure is automatically generated at the |
| 193 |
first addition of the data. |
| 194 |
It is also automatically updated with each addition, removal of data |
| 195 |
and the change of the appearance of data. |
| 196 |
</li> |
| 197 |
</ul> |
| 198 |
</div> |
| 199 |
|
| 200 |
<div class="question"> |
| 201 |
<h4>Q3: How do I move the figure?</h4> |
| 202 |
A: Press the mouse button inside the rectangle region of the figure. |
| 203 |
The figure is selected and anchors are displayed on the edges of the rectangle. |
| 204 |
After selecting a figure, you can move the selected figure by mouse drag. |
| 205 |
When you move the figures, the mouse cursor is changed to the move cursor type. |
| 206 |
</div> |
| 207 |
|
| 208 |
<div class="question"> |
| 209 |
<h4>Q:4 How do I resize the figure?</h4> |
| 210 |
A: When you select the figure, anchors are displayed on the four corners and |
| 211 |
the middle point of four edges. When the mouse cursor is put onto the anchors, |
| 212 |
the mouse cursor is changed to resize type. |
| 213 |
With the resize type cursor, press the mouse button and drag, and draw out the |
| 214 |
figure to the dragged direction. If you drag the anchors on four corners of |
| 215 |
the figure while holding down the Shift key, you can resize the figure keeping |
| 216 |
the horizontal to vertical ratio. |
| 217 |
</div> |
| 218 |
|
| 219 |
<div class="question"> |
| 220 |
<h4>Q5: How do I add various types of symbols to the figure?</h4> |
| 221 |
A: You can add symbols using toggle buttons on the tool bar. |
| 222 |
<ol> |
| 223 |
<li>Press one of the toggle buttons on the tool bar. |
| 224 |
The mouse cursor changes to the crosshair type.</li> |
| 225 |
<li>Press the figure to which you want to add the symbol.</li> |
| 226 |
<li>Do as follows for each symbol type: |
| 227 |
<ul> |
| 228 |
<li>Labels<br /> |
| 229 |
<ol> |
| 230 |
<li>Enter a string into the text field.</li> |
| 231 |
<li>Press the Enter key or press the mouse button on any point in the |
| 232 |
window pane out of the text field.</li> |
| 233 |
<li>A new label is added to the figure. |
| 234 |
If it consists of the spaces, a new label is not added.</li> |
| 235 |
</ol> |
| 236 |
</li> |
| 237 |
<li>Symbols for significant difference / Symbols for axis breaking<br /> |
| 238 |
When you release the mouse button, a new symbol is added to figure at |
| 239 |
the location of the mouse cursor.</li> |
| 240 |
<li>Timing lines<br /> |
| 241 |
<ol> |
| 242 |
<li>Press and release the mouse button on one of the axis line.</li> |
| 243 |
<li>A new timing line is added to the axis.</li> |
| 244 |
</ol> |
| 245 |
</li> |
| 246 |
</ul> |
| 247 |
</li> |
| 248 |
</ol> |
| 249 |
Note: If the mouse is released at the points deviate from the axis line, |
| 250 |
a new timing line is not added. |
| 251 |
</div> |
| 252 |
|
| 253 |
<div class="question"> |
| 254 |
<h4>Q6: How do I remove symbols on the figure?</h4> |
| 255 |
A: |
| 256 |
<ol> |
| 257 |
<li>Click the symbol with the right mouse button, show the pop-up menu.</li> |
| 258 |
<li>Execute the command to remove the symbol.</li> |
| 259 |
</ol> |
| 260 |
</div> |
| 261 |
|
| 262 |
<div class="question"> |
| 263 |
<h4>Q7: How do I move the labels or the symbols?</h4> |
| 264 |
A: Press the label or symbol with the mouse button and drag the mouse. |
| 265 |
</div> |
| 266 |
|
| 267 |
<div class="question"> |
| 268 |
<h4>Q8: How do I change the name of data?</h4> |
| 269 |
A: Click the mouse button on the name of data in the legend, and the text |
| 270 |
field appears. Modify and press the Enter key. |
| 271 |
</div> |
| 272 |
|
| 273 |
<div class="question"> |
| 274 |
<h4>Q9: How do I move the legend?</h4> |
| 275 |
A: Press the legend with the mouse button and drag the mouse. |
| 276 |
</div> |
| 277 |
|
| 278 |
<div class="question"> |
| 279 |
<h4>Q10: How do I change the scale of axis?</h4> |
| 280 |
A: It is possible to change the scale by the mouse operation. |
| 281 |
Do as follows to change the scale: |
| 282 |
<ul> |
| 283 |
<li>Using Scale numbers |
| 284 |
<ol> |
| 285 |
<li>Press a scale number.</li> |
| 286 |
<li>Drag the number horizontally for horizontal axes, or vertically for |
| 287 |
vertical axes.</li> |
| 288 |
<li>You can broaden out or narrow the axis range fixing the minimum |
| 289 |
value.</li> |
| 290 |
</ol> |
| 291 |
</li> |
| 292 |
<li>Using Scale lines |
| 293 |
<ol> |
| 294 |
<li>Press a scale line.</li> |
| 295 |
<li>Drag the scale line horizontally for horizontal axes, or vertically |
| 296 |
for vertical axes.</li> |
| 297 |
<li>You can translate the axis range.</li> |
| 298 |
</ol> |
| 299 |
</li> |
| 300 |
</ul> |
| 301 |
</div> |
| 302 |
|
| 303 |
<div class="question"> |
| 304 |
<h4>Q11: How do I select the data?</h4> |
| 305 |
A: Click the data with the left mouse button. |
| 306 |
The symbols of selecting is shown around the data. |
| 307 |
Holding down the Ctrl key or the Shift key, multiple selection of data is |
| 308 |
possible. |
| 309 |
By selecting the data, users can change the order of data and remove the |
| 310 |
selected data. |
| 311 |
</div> |
| 312 |
|
| 313 |
|
| 314 |
<div class="question"> |
| 315 |
<h4>Q12: How do I remove the data?</h4> |
| 316 |
A: Select the data you want to remove, and execute the menu command |
| 317 |
[Edit]-[Delete] |
| 318 |
in the menu bar. |
| 319 |
</div> |
| 320 |
|
| 321 |
|
| 322 |
<div class="question"> |
| 323 |
<h4>Q13: How do I move the data to the front or back?</h4> |
| 324 |
A: Select the data you want to move to the front or back, and execute the |
| 325 |
menu command [Arrange]-[Move to Front] or [Arrange]-[Move to Back] in the |
| 326 |
menu bar. |
| 327 |
</div> |
| 328 |
|
| 329 |
|
| 330 |
<div class="question"> |
| 331 |
<h4>Q14: How do edit the labels or the string of the symbols |
| 332 |
of significant difference symbols?</h4> |
| 333 |
A: Click the label or the string of the symbols of significant difference |
| 334 |
with the mouse button. |
| 335 |
The text field appears and you can edit the string. |
| 336 |
After edited, press Enter key or press any point in the window pane out of |
| 337 |
the text field. |
| 338 |
The change is committed. |
| 339 |
</div> |
| 340 |
|
| 341 |
|
| 342 |
<div class="question"> |
| 343 |
<h4>Q15: How do I set various properties of each objects?</h4> |
| 344 |
A: Double-click the object which you want to set the properties, and the |
| 345 |
property dialog is displayed. |
| 346 |
Set values and press OK button to set the properties. |
| 347 |
</div> |
| 348 |
|
| 349 |
|
| 350 |
<div class="question"> |
| 351 |
<h4>Q16: How do I zoom in/out?</h4> |
| 352 |
A: Select the magnification value in the combo box in tool bar. |
| 353 |
You can enter a value into the combo box and press the Return key to zoom. |
| 354 |
</div> |
| 355 |
|
| 356 |
|
| 357 |
<div class="question"> |
| 358 |
<h4>Q17: How do I undo/redo the changes?</h4> |
| 359 |
A: There are two possible ways. |
| 360 |
<ul> |
| 361 |
<li>Execute the menu command in the menu bar, [Edit]-[Undo] to undo, or |
| 362 |
[Edit]-[Redo] to redo.</li> |
| 363 |
<li>Hit Ctrl+Z to undo, or Ctrl+Y to redo.</li> |
| 364 |
</ul> |
| 365 |
</div> |
| 366 |
|
| 367 |
|
| 368 |
<div class="question"> |
| 369 |
<h4>Q18: How do I export graphic into the image file?</h4> |
| 370 |
A: Execute the menu command [File]-[Export as Image] or press the export |
| 371 |
button in |
| 372 |
the tool bar, and the preview dialog is displayed which shows graphic clipped |
| 373 |
by the paper in th window. |
| 374 |
The export dialog is also displayed, and you can set the type, name and |
| 375 |
properties of the image file. Press OK button on the export dialog, and the |
| 376 |
image file is created. |
| 377 |
</div> |
| 378 |
|
| 379 |
|
| 380 |
<div class="question"> |
| 381 |
<h4>Q19: How do I create a property file?</h4> |
| 382 |
A: |
| 383 |
<ol> |
| 384 |
<li>Execute one of the following actions. |
| 385 |
<ul> |
| 386 |
<li>Execute the menu command in the menu bar, |
| 387 |
[File]-[Save Property].</li> |
| 388 |
<li>Press the save-property button in the tool bar.</li> |
| 389 |
</ul> |
| 390 |
</li> |
| 391 |
<li>Set the file path by file chooser.</li> |
| 392 |
</ol> |
| 393 |
</div> |
| 394 |
|
| 395 |
|
| 396 |
<div class="question"> |
| 397 |
<h4>Q20: How do I use the property file?</h4> |
| 398 |
A: |
| 399 |
<ol> |
| 400 |
<li>Execute one of the following actions. |
| 401 |
<ul> |
| 402 |
<li>Execute the menu command in the menu bar, |
| 403 |
[File]-[Load Property].</li> |
| 404 |
<li>Press the load-property button in the tool bar.</li> |
| 405 |
</ul> |
| 406 |
</li> |
| 407 |
<li>Wizard dialogs are shown in the following order. |
| 408 |
<ol> |
| 409 |
<li>Choose a property file to use.</li> |
| 410 |
<li>Choose data files.</li> |
| 411 |
</ol> |
| 412 |
</li> |
| 413 |
<li>A new window which reflects the property file is created and |
| 414 |
displayed.</li> |
| 415 |
</ol> |
| 416 |
</div> |
| 417 |
|
| 418 |
|
| 419 |
<div class="question"> |
| 420 |
<h4>Q21: How do I exit this application?</h4> |
| 421 |
A: Close all windows or execute the menu command in the menu bar, |
| 422 |
[File]-[Exit]. |
| 423 |
</div> |
| 424 |
|
| 425 |
<!-- footerstart --> |
| 426 |
<div id="footer"> |
| 427 |
<p>Copyright ©2004-2010 RIKEN Japan, All Rights Reserved</p> |
| 428 |
</div></div> |
| 429 |
</div> |
| 430 |
</body></html> |