Code Snippets

Code snippets are piece of code (usually short and simple) that serve a specific purpose. Larger pieces of code with multiple functions, etc. should usually be created as a project instead.
If you are signed into the site, you can Create your own code snippet.

NameRatingsort icon
Load JPK Data File No votes
Binary search on PRE-SORTED text waves No votes
Numerical integration with Gaussian Quadrature No votes
A char2num function that works for ASCII codes 0-->255. No votes
Custom Markers: Half filled circles No votes
Sine integral (two routines) No votes
Do something to waves in marquee No votes
Add a trace and update the average trace No votes
Menu entry for experiment templates No votes
Rudimentary Binary File Reader No votes
Convert text wave into numeric wave and vice versa No votes
Weighted Average and its Uncertainty No votes
A filtered list of all controls in a window, including subwindows No votes
Load columns in an Excel worksheet to a 2D wave No votes
Using ExecuteScriptText to get a list of all environment variables and their values No votes
Annotate traces by color No votes
[XOP] C++ Wrapper for MDAccessNumericWaveData No votes
convert image wave by a lookup wave No votes
Add a new line to the command line "silently" (i.e., without printing to history) No votes
Fix Line Breaks And Load - Illustrates Use of Temporary File in Data Loading No votes
Kullback-Leibler divergence No votes
Monte Carlo error analysis using Genetic Optimisation. No votes
Save Wave as General Binary No votes
Create a panel representing equipment status No votes
Change All Dots to Comma in File No votes
Get List of Named Window Hook Functions No votes
Print date and time header on layouts No votes
Replace Waves In Table No votes
Export to EPS for LaTeX No votes
Display graphed subset of waves in table No votes

Back to top