© Copyright 2000-2015 Source Code Online. Free Source Code and Scripts Downloads.
|Code Listing by Zhang Jiang|
Read scans from x-ray SPEC files. Merge different scans. Save scan data. Export to figures. Calculate true reflectivity by subtracting longitudinal diffuse scatterings from the measured reflectivity.
Unzip and add path 'xraylabtool' and its subfolders to Matlab search path. In matlab command window, type in 'specr' to start.
Function REFRAC returns material properties interacted with x-rays.
refrac('Formula',energy,massdensity) gives refraction in terms of disperion(delta) and absorption(beta), as well as critical angle and attenuation length corresponding...
There is no selection in Curve Fitting Toolbox that the property of the plot could be changed, for example, log plot, loglog plot. This is useful expecially when you are fitting a log or exponential curve. Help included.
ERRORBARLOGY Show the vertical errorbar line in log y scale plot when the data error is larger than data itself.
Matlab buidin ERRORBAR does not plot the vertical errobar line in a log y scale plot when data error is larger than data...
Quick commands to dock/undock figures.
DOCKF Dock or undock figures.
DOCKF dock the current figure; same as DOCKF GCF
DOCKF ON H dock figures with handles H. H can a vector.
DOCKF ON ALL dock all the figures
IMWRITE2TIF Write image to tif file with specified datatype.
IMWRITE2TIF(IMGDATA,HEADER,IMFILE,DATATYPE)exports IMGDATA with HEADER to TIF file named IMFILE. HEADER is usally obtained by IMFINFO from original image file, and it can...
Sets the properties of the axes group in a figure. Especially useful with 'subplot' function.
The usage is the same as 'set'. Type 'help setsubplot' in command.
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.