Transfer graphs between different experiment files

Transfer graphs completely (both data and graph it self) from one expriment to another, some like as the Save Graph package but far more convenient. One does not need to save the graph copy as a text file and not need to load it using the Load Igor Text menu item.

How to use:
1 Drag the TransferGraph.ipf to the current experiment file and compile it. A menu named "TransferGraph" is created with two menuitems: "SaveGraph" and "LoadGraph". Do the same thing to the target experiment file you want to transfer graphs to.
2 Make the graph you want to transfer to another experiment file as the top most window, then choose TransferGraph->SaveGraph menu item
3 In the target experiment file, choose TransferGraph->LoadGraph menu item

Note: before transfer, all data associated with the graph should be saved(experiment saved). Gizmo windows not supported.

Project Details

Current Project Release

Transfer graphs between different experiment files IGOR.7.00.x-1.0-0

Release File: TransferGraph.ipf
Version: IGOR.7.00.x-1.0-0
Version Date: Tue, 10/24/2017 - 09:54 am
Version Major: 1
Version Patch Level: 0
OS Compatibility: Windows
Release Notes:

The first version

View All Releases

Hi Jia, thanks for this nice project. I noticed that the loader (LoadGraph) does not work with liberal folder names (for example, folders with space characters). If you replace in line 65 this:

path=path[0,pos]

with this, it works:

path=ReplaceString("'",path[0,pos],"")

 

I might also draw your attention to the Save Graph / Merge Experiment functionality:

DisplayHelpTopic "Save Graph Copy"

DisplayHelpTopic "Merging Experiments"

 

Indeed, I did not know about the Merge feature (yet another keyboard shortcut which draws me deeper into the rabbit hole ;). But I have to say that I find the provided script here super convenient. This works with just two button presses and without creating any temporary files. It would be really nice if in a future Igor version the 'Browse Experiment' function could access graphs/layouts/tables etc. of the browsed experiments as well to draw them into the current experiment file. Or even better would be a copy-paste option just like it is now possible to copy-paste graph elements between different open experiments.

Forum

Support

Gallery

Igor Pro 9

Learn More

Igor XOP Toolkit

Learn More

Igor NIDAQ Tools MX

Learn More