Last active
March 20, 2020 09:16
-
-
Save craigmccauley/7324f74486942f87f3253e0386b7b3e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//////////////////// | |
//Runs plot profile and copies the first dataset | |
//////////////////// | |
//clear buffer for working with | |
String.resetBuffer(); | |
//get plot values | |
var profile = getProfile(); | |
//build export string | |
var results = ""; | |
for (var i = 0; i < profile.length; i++) { | |
results += toString(i) + "\t" + toString(profile[i]) + "\r\n"; | |
} | |
//copy to clipboard | |
String.copy(results); | |
run("Open Next"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment