Download pdf - 3 Digitizing

Transcript
Page 1: 3 Digitizing

Monday, January 14, 2013

Dr Michael Tan, [email protected] 1

DIGITIZINGUniversiti Teknologi MalaysiaDr Michael Tan Loong PengPhD (Cambridge)Senior LecturerFaculty of Electrical EngineeringUniversiti Teknologi Malaysia

Dr Michael Tan, [email protected]

Introduction

Digitizing software • converts an image file showing a graph or map, into numbers. 

The image file can come from a scanner, digital camera or screenshot. The numbers can be read on the screen, and written or copied to a spreadsheet. 

Dr Michael Tan, [email protected]

Why Would You Need This Tool?

Here are some real‐life examples:• You are an engineer with some graphs in decades‐old documents, but you really need the numbers represented in those graphs so you can do analyses that will determine if a space vehicle is safe to fly.

Dr Michael Tan, [email protected]

Why Would You Need This Tool?

Here are some real‐life examples:• You are a graduate student gathering historical data from charts for your thesis.

• You need to get experimental data for your analysis to compare with your modeling.

• You would like to benchmark your finding with published data

Page 2: 3 Digitizing

Monday, January 14, 2013

Dr Michael Tan, [email protected] 2

Dr Michael Tan, [email protected]

Why Would You Need This Tool?

Here are some real‐life examples:• You ride a bike or boat and want to know how much distance you covered in your last trip, but you do not have an odometer or GPS unit. However, you do have a map.

Dr Michael Tan, [email protected]

Identify Figure from Paper

Dr Michael Tan, [email protected]

Print Screen

Dr Michael Tan, [email protected]

Open Replica

Page 3: 3 Digitizing

Monday, January 14, 2013

Dr Michael Tan, [email protected] 3

Dr Michael Tan, [email protected]

Load Image From File

Dr Michael Tan, [email protected]

Open Image

Dr Michael Tan, [email protected]

Insert Full Box

Dr Michael Tan, [email protected]

Fit the box into Axis

Page 4: 3 Digitizing

Monday, January 14, 2013

Dr Michael Tan, [email protected] 4

Dr Michael Tan, [email protected]

Dimensions

Dr Michael Tan, [email protected]

Start Digitizing

Dr Michael Tan, [email protected]

Export Data

Dr Michael Tan, [email protected]

Save Data to File

Page 5: 3 Digitizing

Monday, January 14, 2013

Dr Michael Tan, [email protected] 5

Dr Michael Tan, [email protected]

Open data file using Excel

Dr Michael Tan, [email protected]

Text Import Wizard

Dr Michael Tan, [email protected]

Choose Tab and Space

Dr Michael Tan, [email protected]

Select General

Page 6: 3 Digitizing

Monday, January 14, 2013

Dr Michael Tan, [email protected] 6

Dr Michael Tan, [email protected]

Data exported in Excel

Dr Michael Tan, [email protected]

Plot using XY (Scatter)

Select Scatter with Smooth Lines and Markers

Dr Michael Tan, [email protected]

End results in Excel

1.0E‐12

1.0E‐11

1.0E‐10

1.0E‐09

1.0E‐08

1.0E‐07

1.0E‐06

1.0E‐05

1.0E‐04

‐10 ‐5 0 5 10

Source Drain Current (A

)

Gate Voltage (V)Dr Michael Tan, [email protected]

Next, Plotting in MATLAB

Page 7: 3 Digitizing

Monday, January 14, 2013

Dr Michael Tan, [email protected] 7

Dr Michael Tan, [email protected]

Import Data

Example 1.txt

Dr Michael Tan, [email protected]

Import WizardSelect Tab

Dr Michael Tan, [email protected]

Data loaded in Workspace

Now data appear in Workspace

Dr Michael Tan, [email protected]

Saving Data as MAT FileSave data as MAT file

Page 8: 3 Digitizing

Monday, January 14, 2013

Dr Michael Tan, [email protected] 8

Dr Michael Tan, [email protected]

• Typesemilogy(Example1(:,1),Example1(:,2),'‐d')

Plot Command

Dr Michael Tan, [email protected]

End Results in MATLAB

-10 -8 -6 -4 -2 0 2 4 6 8 1010

-12

10-11

10-10

10-9

10-8

10-7

10-6

10-5

10-4

Dr Michael Tan, [email protected]

clc;clear all;close all;

load Example1.math1=semilogy(Example1(1:101,1),...

Example1(1:101,2),'--d');

M file normal plot

Dr Michael Tan, [email protected]

M file normal plot

-10 -8 -6 -4 -2 0 2 4 6 8 1010-12

10-11

10-10

10-9

10-8

10-7

10-6

10-5

10-4

Page 9: 3 Digitizing

Monday, January 14, 2013

Dr Michael Tan, [email protected] 9

Dr Michael Tan, [email protected]

clc;clear all;close all; load Example1.mat f1=figure(1);h1=semilogy(Example1(1:101,1),Example1(1:101,2),'--d','Color',[0.5,0,0.5],'LineWidth',2, 'MarkerSize',5);set(gca,'Fontsize',14,'linewidth',3,'FontWeight', 'normal', 'FontName','Arial'); set(gca,'xlim',[-10 10]);set(gca,'ylim',[10E-13 10E-5]);set(gca,'XMinorTick','on','YMinorTick','on')

xlabel('Gate Voltage (V)','Fontsize',14);ylabel('Source Drain Current (A)','Fontsize',14);set(f1, 'color', 'white');

M file enhanced plot

Dr Michael Tan, [email protected]

M file enhanced plot

-10 -8 -6 -4 -2 0 2 4 6 8 1010-12

10-11

10-10

10-9

10-8

10-7

10-6

10-5

10-4

Gate Voltage (V)

Sou

rce

Dra

in C

urre

nt (A

)


Recommended