© 2024 Jasper van Baten, AmsterCHEM

Formatting your data

The data points that are displayed on your screen (in the data point list in the top of your screen and in the status bar in the bottom of the screen when you move your mouse over the image) are displayed in a different format than the format that is used for copying data points or saving data points to text file.

significant digits

When you define the axes of your graph, the number of significant digits for formatting your X and Y data is automatically calculated. You can change this by choosing Number of significant digits from the Format submenu of the Data menu. When the significant digits are calculated or set by the user, the formatting for screen and file or clipboard will be reset from the defaults, using the new significant digits.

default format strings

The default format for new document windows can be changed from the Options menu. The format string needs to be specified using either \x or \X for the X coordinate, and \y or \Y for the Y coordinate. Use the upper case versions for fixed-length fields. Use the lower case versions for possibly shorter field widths. Both the X and Y coordinate must be present, in that order. You can use \t for tab, and \\ for a backslash.

The default format string for the screen is \x, \y, short fields for X and Y coordinates separated by a comma and a space. The default format string for file and clipboard is \X\t\Y, fixed field widths for X and Y coordinates separated by a tab character.

printf format strings

For each document window, you can change the format strings for screen and file or clipboard from the Format submenu of the Data menu. The format strings need to be specified in C-style printf format: two floating point arguments X and Y must be present. You can use \t for tab, and \\ for a backslash, and %% for a percent sign.

With 3 significant digits for X and 2 for Y, the default screen format becomes "%.3g, %.2g" and the default file and clipboard format becomes "%10.3g\t%9.2g".

See also: Using data in other applications, Copying data points to clipboard, Saving data points to text file.

INDEX
.BMP
.GIF
.JPG
.PNG
.SID
.TIF
.TXT
Acknowledgements
Adjusting data points
Axes definition
Background color
Bitmap file
Black and white filter
Brightness
Clipboard
Contrast
Coordinates
Creating a data set
Crop
Curves
Data files
Data format
Data sets
Defaults
Defining your axes
Deleting data
Disclaimer
Editing data
Erasing data
Exporting data
Filtering your image
Format
Getting started
Graphics Interchange File format (GIF)
Gray scale filter
Highlighting edges of colored regions
Hot keys
Importing images from other applications
Introduction
Inverting colors
JPEG files
Keyboard shortcuts
License
Lines between data points
Logarithmic axes
Manipulating data
Manually picking points
Marker color
Marker size
Mode
Moving data points
New data set
New window
Opening documents
Opening images
Pasting images
Picking points
Portable Network Graphics (PNG)
printf format strings
Reducing color resolution
Removing data
Removing noise
Resampling data
Saving documents
Saving your image
ScanIt Document files (SID)
Scanning for symbols
Scanning points on a curve
Selected marker color
Selecting data
Shortcut keys
Significant digits
Snap
Sorting data
Starting a document
Symbols
System requirements
Tagged Image File Format (TIF)
Text files
Trace recursion level
Using your data in other applications
Zoom View
CONTENT
 Welcome to ScanIt
 The document windows
 Storing and loading documents
 The Zoom View
 Preparing your image
 Gathering data
 Manipulating data
 Using data in other applications
 Formatting your data
 Copying data points to clipboard
 Saving data points to text file
 Options
 Keyboard shortcuts
 Disclaimer and license