<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.igorexchange.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>All new activity</title>
 <link>http://www.igorexchange.com/forum_tracker_new</link>
 <description>This feed contains all new activity that has been posted and the user has not seen.</description>
 <language>en-US</language>
<item>
 <title>Need to extract numeric data from a string of ascii</title>
 <link>http://www.igorexchange.com/node/845</link>
 <description>&lt;p&gt;I running a monte carlo program that generates ascii data files in multielement lines.  Below is a typical example of one of the line:&lt;/p&gt;
&lt;p&gt;   0.17758E+01 -0.14488E+01 -0.41742E+00  0.85527E+00 -0.47925E-01 -0.51596E+00  0.65037E-05  0.10000E+01  0.69302E+02&lt;/p&gt;
&lt;p&gt;I don&#039;t have much control over the output format for this data string, except that I have the option of writing the file in binary, but I&#039;m not ready to make that leap yet.&lt;/p&gt;
&lt;p&gt;I would like to read in the line and extract each numeric value.  I&#039;m fairly new at igor, and I&#039;m having difficulties getting the string functions to do what I want of them.  Useful help or advice would be appreciated :)&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/845#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Fri, 21 Nov 2008 10:58:04 -0600</pubDate>
 <dc:creator>cdbass</dc:creator>
 <guid isPermaLink="false">845 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Igor Pro Wish List</title>
 <link>http://www.igorexchange.com/node/134</link>
 <description>&lt;p&gt;This topic will serve as the IgorPro wish list.  Feel free to make suggestions for features that you think would improve Igor Pro. &lt;/p&gt;
&lt;p&gt;&lt;em&gt;Note:  This discussion is for Igor Pro suggestions only.  To make suggestions for IgorExchange.com, please see the &lt;a href=&quot;175&quot;&gt;IgorExchange.com Wish List discussion&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/134#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Mon, 09 Jul 2007 21:38:54 -0500</pubDate>
 <dc:creator>hrodstein</dc:creator>
 <guid isPermaLink="false">134 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Programmatically creating waves</title>
 <link>http://www.igorexchange.com/node/841</link>
 <description>&lt;p&gt;I am brand new at writing macros (in Igor), so I&#039;m trying to figure stuff out as I go.&lt;br /&gt;
One piece of code that I am having trouble with is programmatically creating waves.&lt;br /&gt;
In my procedure, heres what I have so far:&lt;/p&gt;
&lt;p&gt;Make/N=200 &#039;WaveA&#039;,&#039;WaveB&#039;,&#039;WaveC&#039;..... etc&lt;br /&gt;
Prompt xWave, &quot;Enter wave for x values : &quot;&lt;br /&gt;
Prompt yWave, &quot;Enter wave for y values: &quot;&lt;br /&gt;
DOPrompt &quot;Enter x and y waves&quot;, xWave, yWave&lt;/p&gt;
&lt;p&gt;Is this correct for picking out two of the created waves, so later in the macro I can graph the two?&lt;br /&gt;
Also, is it possible to provide a list of the created waves within the prompt so the user can just pick 2 out?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Cory&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/841#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Fri, 14 Nov 2008 15:34:20 -0600</pubDate>
 <dc:creator>Cory K</dc:creator>
 <guid isPermaLink="false">841 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Skip loaded columns</title>
 <link>http://www.igorexchange.com/node/843</link>
 <description>&lt;p&gt;I am reading in tab-delimited text files using:&lt;br /&gt;
LoadWave&lt;/p&gt;
&lt;p&gt;Are there any flags I can add to skip columns.&lt;br /&gt;
For example if I have columns 0,1,2,3,4,5,6,7,8&lt;/p&gt;
&lt;p&gt;But I only want to read in 0,1,4,5,6&lt;br /&gt;
What flag would I add?&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/843#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Wed, 19 Nov 2008 18:50:57 -0600</pubDate>
 <dc:creator>Cory K</dc:creator>
 <guid isPermaLink="false">843 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Plotting only every Nth point</title>
 <link>http://www.igorexchange.com/node/842</link>
 <description>&lt;p&gt;I&#039;m plotting data as yWave vs. xWave.  There are simply too many points displayed.  I&#039;d like to only plot every, say, 10th point.  But I don&#039;t want to delete any of the data.  &lt;/p&gt;
&lt;p&gt;Also, I use several different yWaves---something like yWave1, yWave2, etc---plotted against the same xWave, so I don&#039;t want to have to change the values of xWave.  &lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Kevin&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/842#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Wed, 19 Nov 2008 14:19:16 -0600</pubDate>
 <dc:creator>kevin</dc:creator>
 <guid isPermaLink="false">842 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Multiply array by X</title>
 <link>http://www.igorexchange.com/node/840</link>
 <description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&#039;m not too familiar with IGOR syntax, how would I take a given array and multiply the whole thing by some constant?&lt;/p&gt;
&lt;p&gt;Is this close?:&lt;br /&gt;
Duplicate wave1, wave2&lt;br /&gt;
wave2 = wave1 * 10&lt;br /&gt;
Display wave2&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/840#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Fri, 14 Nov 2008 12:20:48 -0600</pubDate>
 <dc:creator>Skargaemer</dc:creator>
 <guid isPermaLink="false">840 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Force multipeak fitting</title>
 <link>http://www.igorexchange.com/node/834</link>
 <description>&lt;p&gt;Hi there, I am new to this program, here we have written a program to calculate peak area of a series spectra in one file ,for example, wave0 to wave 8000,  to construct one intensity image, , while we found that there are two peaks so close that general fitting can not recognize these two peaks as one, we can force fit the specific peak range into two peaks, can any one can tell me how to do batch fitting so that we needn&#039;t to do so one by one ?&lt;br /&gt;
Thanks&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/834#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Mon, 10 Nov 2008 16:32:55 -0600</pubDate>
 <dc:creator>yqgao</dc:creator>
 <guid isPermaLink="false">834 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Fitting Multiple Curves With Multiple Functions</title>
 <link>http://www.igorexchange.com/node/831</link>
 <description>&lt;p&gt;Here&#039;s my problem in principle:&lt;/p&gt;
&lt;p&gt;I wish to fit one set of data Energy(x) with the equation a*x+b. At the same time I wish to fit a completely different set of data Charge(x) with the curve a*x^2+b, where a and b are the same in both fits. Is Igor able to fit both of these curves simultaneously by minimizing the summed error from each fit?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/831#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Sun, 09 Nov 2008 22:42:42 -0600</pubDate>
 <dc:creator>maxxcw</dc:creator>
 <guid isPermaLink="false">831 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Multipeak Fit with original negative peaks?</title>
 <link>http://www.igorexchange.com/node/833</link>
 <description>&lt;p&gt;Dear all,&lt;/p&gt;
&lt;p&gt;I am new to Igor Pro and but found it is powerful for signal process. I would like to decompose some characteristic peaks from an experimental measurement. I think the MultiPeak Fit function of Igor Pro should do the job. After several days of trying, I still can&#039;t get it works correctly. For example, although it could fit the total curve nicely, but the decomposition, ie. the individual peaks, is not correct.&lt;/p&gt;
&lt;p&gt;The experimental data is attached. Could any expert please advice how to utilize MultiPeak Fit and solve the current fit that I can use it an an example to solve many of other measurements.&lt;/p&gt;
&lt;p&gt;Thank you very much for your kind help.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/833#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <enclosure url="http://www.igorexchange.com/files/025 xyz.xls" length="395264" type="application/vnd.ms-excel" />
 <enclosure url="http://www.igorexchange.com/image/view/832/preview" length="34059" type="image/jpeg" />
 <pubDate>Mon, 10 Nov 2008 03:54:30 -0600</pubDate>
 <dc:creator>garrison</dc:creator>
 <guid isPermaLink="false">833 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Run Igor.exe in a VBA Shell to analyze a datafile with a Procedure</title>
 <link>http://www.igorexchange.com/node/836</link>
 <description>&lt;p&gt;I want to automate data processing and plotting with VBA code in an Access App.&lt;br /&gt;
I will use an existing Procedure with many datafile (exp.xls)&lt;br /&gt;
I am new to Igor....my collegue wrote the procedure.&lt;br /&gt;
The following code opens Igor just fine with the procedure loaded, but I need to know how to modify the procedure to get the it to find, load and process the data in exp.xls:&lt;br /&gt;
VBA.Shell &quot;&quot;&quot;C:\Program FIles\WaveMetrics\Igor Pro Folder\Igor.exe&quot;&quot;&quot; &amp;amp; Chr(34) &amp;amp; &quot;&quot;&quot;C:\exp.xls&quot;&quot;&quot;  &amp;amp; Chr(34), vbNormalFocus&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/836#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Wed, 12 Nov 2008 01:25:07 -0600</pubDate>
 <dc:creator>kstrieb</dc:creator>
 <guid isPermaLink="false">836 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>The equations for ExpGauss and ExpConvExp</title>
 <link>http://www.igorexchange.com/node/837</link>
 <description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;Does anyone know what&#039;s the explicit equations for the fitting function ExpGauss and ExpConvExp used in Igor Pro?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/837#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Wed, 12 Nov 2008 02:07:56 -0600</pubDate>
 <dc:creator>garrison</dc:creator>
 <guid isPermaLink="false">837 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Sum of two Gaussians</title>
 <link>http://www.igorexchange.com/node/835</link>
 <description>&lt;p&gt;I wrote a program that will open up a file and fit the data to a gaussian peak. Some of the new data we&#039;re collecting has 2 peaks and I would like to know how to fit a gaussian to each peak. Each of these files contains a large amount of frames, so I want it to be automatic. I already have the code in place to fit a gaussian to each frame and load the coefficients into a separate wave for storage. I just need to know how to code for the 2 gaussian fits. Thanks.&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/835#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Tue, 11 Nov 2008 09:22:44 -0600</pubDate>
 <dc:creator>English_Lab</dc:creator>
 <guid isPermaLink="false">835 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>FuncFit Error Flag?</title>
 <link>http://www.igorexchange.com/node/662</link>
 <description>&lt;p&gt;I am writing a macro that runs through a number of files and fits them to a number of user-defined functions. This all works great except when the function returns an error of&lt;/p&gt;
&lt;p&gt;**** Singular matrix error during curve fitting ****&lt;/p&gt;
&lt;p&gt;which I know means that the equation has too many parameters and one is ill defined. (I&#039;m fitting single exponentials versus double exponentials).&lt;/p&gt;
&lt;p&gt;Unfortunately, this singular matrix error crashes my whole macro, when what I&#039;d really like it to do is to generate an error message (that I can redirect somewhere), and continue with the next fit in the macro. It seems like there should be a flag whose status I can check before the macro crashes so that I can skip over the crash part.&lt;br /&gt;
Is this making sense?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
-Karen f.&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/662#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Mon, 02 Jun 2008 13:12:38 -0500</pubDate>
 <dc:creator>leandract</dc:creator>
 <guid isPermaLink="false">662 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Creating waves of arbitrary data</title>
 <link>http://www.igorexchange.com/node/830</link>
 <description>&lt;p&gt;I know how to import data, but I cannot figure out how to create waves of arbitrary data inside Igor using command line functions.  For example, if I want to make a wave with the values 0 5 3 -2, how do I do this? Is there a way to create a wave like this, where the values are not a function of the index?  I know how to do this by using the GUI to edit the values in a table, but I want to implement this via command line functions, so I can do it in my procedures.&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/830#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Wed, 05 Nov 2008 17:49:07 -0600</pubDate>
 <dc:creator>lizhb</dc:creator>
 <guid isPermaLink="false">830 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Layout- Arrange window order</title>
 <link>http://www.igorexchange.com/node/829</link>
 <description>&lt;p&gt;Whenever I want to arrange graphs on a layout, I first create the layout and then arrange.  I don&#039;t use the dialog by itself; instead I send the command to the clipboard where I manually rearrange my graphs so that they appear in the order I desire on the layout.  Is there a way to do this within the dialog?  Or is my way the only viable workaround?&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/829#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Wed, 05 Nov 2008 13:56:26 -0600</pubDate>
 <dc:creator>patarroyo</dc:creator>
 <guid isPermaLink="false">829 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Killing Graphs From Command Line</title>
 <link>http://www.igorexchange.com/node/827</link>
 <description>&lt;p&gt;I have searched the Web, the Help files, and everywhere in between.  I cannot find a way to kill graphs from the command line.  It&#039;s easy to kill waves, but what about graphs, or even tables?  Is there a way to kill these objects from the command line?&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/827#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Thu, 30 Oct 2008 11:07:32 -0500</pubDate>
 <dc:creator>patarroyo</dc:creator>
 <guid isPermaLink="false">827 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Transform Axes Canned Transformations</title>
 <link>http://www.igorexchange.com/node/824</link>
 <description>&lt;p&gt;In a different forum was posted thoughts about Transform Axes as ...&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;quote-msg&quot;&gt;&lt;div class=&quot;quote-author&quot;&gt;&lt;em&gt;johnweeks&lt;/em&gt; wrote:&lt;/div&gt; ...Perhaps I should add some canned Arrhenius transformation function.&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;I think the following two canned transformations for temperature would be useful:&lt;/p&gt;
&lt;p&gt;a) oC -&amp;gt; 1/K:    1/(x +273.15)&lt;br /&gt;
b) 1/K -&amp;gt; oC:    (1/x) - 273.15&lt;/p&gt;
&lt;p&gt;BTW, a factor of 1000 is used to adjust the 1/K scale to be in inverse milli-Kelvin (which can also be done using the proper escape codes in the axis label).&lt;/p&gt;
&lt;p&gt;(and I meant to append this to the Wish List rather than start a new topic --- my apologies)&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/824#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Wed, 29 Oct 2008 15:47:49 -0500</pubDate>
 <dc:creator>jjweimer</dc:creator>
 <guid isPermaLink="false">824 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Looking for an IGOR Programmer</title>
 <link>http://www.igorexchange.com/node/828</link>
 <description>&lt;p&gt;I am looking for someone to make slight minor modifications to a Procedure written by Jeremy Bergsman a few years ago.   The purpose of the procedure is detection of epileptiform activity (although it could also be used to detect other kinds of activity).   We need to add a moving baseline to the detection using filtered data.  I know programmers prefer to start from scratch with their own program, but this is already a very nice module.  It just needs this one thing - and then there are a couple more things that would be optionally added.&lt;br /&gt;
The procedure currently has FFT as an optional detection method.  The calculation of the FFT slows down the automated mode, so we would like the option to turn off the calculation/display of the FFT when we are not using it for detection.&lt;/p&gt;
&lt;p&gt;Finally, we would like - perhaps even as a separate procedure/module - so this could be started from scratch - a way to output FFT data.  We have to thing a little bit more about this - how we would like the output, etc.&lt;/p&gt;
&lt;p&gt;I have the means to pay someone to do this programming.&lt;/p&gt;
&lt;p&gt;If for some reason you would prefer to view it as a collaboration in order to get your name on a publication, that is also an option.&lt;/p&gt;
&lt;p&gt;Please email me at &lt;a href=&quot;mailto:kmjacobs@vcu.edu&quot;&gt;kmjacobs@vcu.edu&lt;/a&gt; if you are interested.&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/828#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Thu, 30 Oct 2008 12:40:31 -0500</pubDate>
 <dc:creator>kmjacobs</dc:creator>
 <guid isPermaLink="false">828 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Modify mirror axis</title>
 <link>http://www.igorexchange.com/node/817</link>
 <description>&lt;p&gt;Hej!&lt;/p&gt;
&lt;p&gt;I have a problem with my mirror axis. So normally it displays the same range and values as the original axis. But I want to display the mirrored x-axis computed as:  mirrored x-axis = 1000/(X-axis)-273.15&lt;/p&gt;
&lt;p&gt;So, I want to put diverse temperature back to T(°C) on the mirrored x-axis without having T(°C) data.&lt;br /&gt;
Is there a simple way to do this in Igor?&lt;br /&gt;
An example of a plot with the normal mirror axis is attached.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
Jan&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/817#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <enclosure url="http://www.igorexchange.com/image/view/816/preview" length="48945" type="image/png" />
 <pubDate>Thu, 23 Oct 2008 06:18:37 -0500</pubDate>
 <dc:creator>warakurna</dc:creator>
 <guid isPermaLink="false">817 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Unconnect waves in graph</title>
 <link>http://www.igorexchange.com/node/823</link>
 <description>&lt;p&gt;To display a number of different waves, I use the AppendToGraph function. See the code to see how. I would like to plot currents (the Y-values) against their voltages (the X-values). The plotmode is set to lines, or lines and markers. This works fine, except for the fact that all the different current waves are connected to the previous one. I would like the individual values of each current wave to be connected, but not the waves themselves to be connected to each other.&lt;br /&gt;
I noticed that when I plot every current wave against one single voltage wave (in the same way) I get what I want. However, I really need to plot the current values against their own voltage value.&lt;br /&gt;
Is there a way to get what I want?&lt;/p&gt;
&lt;p&gt;Olav&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;geshifilter&quot;&gt;&lt;pre class=&quot;igor geshifilter-igor&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;Function&lt;/span&gt; doThing&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;String&lt;/span&gt; Xwave = &lt;span class=&quot;st0&quot;&gt;&amp;quot;meanCurrents&amp;quot;&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;String&lt;/span&gt; YWave = &lt;span class=&quot;st0&quot;&gt;&amp;quot;meanVoltages&amp;quot;&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;String&lt;/span&gt; current_waves = &lt;span class=&quot;st0&quot;&gt;&amp;quot;Current&amp;quot;&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;Variable&lt;/span&gt; index = 0
 
&lt;span class=&quot;kw2&quot;&gt;String&lt;/span&gt; graphicName = &lt;span class=&quot;st0&quot;&gt;&amp;quot;IV_Plot&amp;quot;&lt;/span&gt;	
&lt;span class=&quot;kw2&quot;&gt;String&lt;/span&gt; these_Waves = &lt;span class=&quot;kw3&quot;&gt;WaveList&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;current_waves + &lt;span class=&quot;st0&quot;&gt;&amp;quot;*&amp;quot;&lt;/span&gt;,&lt;span class=&quot;st0&quot;&gt;&amp;quot;;&amp;quot;&lt;/span&gt;,&lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
 
&lt;span class=&quot;kw1&quot;&gt;do&lt;/span&gt;				&lt;span class=&quot;co1&quot;&gt;// for every wave to add&lt;/span&gt;
	&lt;span class=&quot;kw2&quot;&gt;String&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;G this_wave = &lt;span class=&quot;kw3&quot;&gt;StringFromList&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;index, these_Waves&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;strlen&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;this_Wave&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; == 0&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
		&lt;span class=&quot;kw1&quot;&gt;break&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
		plotGraph&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;graphicName, Xwave, Ywave, index&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	&lt;span class=&quot;kw1&quot;&gt;endif&lt;/span&gt;
 
	index += &lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;end&lt;/span&gt;
 
&lt;span class=&quot;co1&quot;&gt;//####################################################&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;Function&lt;/span&gt; plotGraph&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;graphName,the_wave, the_xaxis ,&lt;span class=&quot;kw3&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
 
&lt;span class=&quot;kw2&quot;&gt;String&lt;/span&gt; graphName
&lt;span class=&quot;kw2&quot;&gt;String&lt;/span&gt; the_wave
&lt;span class=&quot;kw2&quot;&gt;String&lt;/span&gt; the_xaxis
&lt;span class=&quot;kw2&quot;&gt;Variable&lt;/span&gt; &lt;span class=&quot;kw3&quot;&gt;i&lt;/span&gt;
 
 
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;i&lt;/span&gt; ==0&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
	&lt;span class=&quot;kw4&quot;&gt;display&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;N=$&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;graphName&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$the_wave&lt;/span&gt; vs &lt;span class=&quot;re0&quot;&gt;$the_xaxis&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt;
	&lt;span class=&quot;kw4&quot;&gt;AppendToGraph&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;W=$&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;graphName&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;re0&quot;&gt;$the_wave&lt;/span&gt; vs &lt;span class=&quot;re0&quot;&gt;$the_xaxis&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;endif&lt;/span&gt;
 
&lt;span class=&quot;kw2&quot;&gt;end&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/823#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Tue, 28 Oct 2008 11:58:52 -0500</pubDate>
 <dc:creator>Olav Kiam</dc:creator>
 <guid isPermaLink="false">823 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Symbolic path already exists</title>
 <link>http://www.igorexchange.com/node/822</link>
 <description>&lt;p&gt;Dear Igor users,&lt;/p&gt;
&lt;p&gt;The script I am trying to write needs to open all txt files from a folder, load the waves, and calculate some things. It works fine, however, for every file Igor asks me me the following: &quot;The symbolic path datadir already exists. Do you want to change it?&quot; Yes / No.&lt;br /&gt;
Since there will be many files, i would rather not be asked this question. Even more because it doesn&#039;t seem to matter whether I click yes or no.&lt;/p&gt;
&lt;p&gt;Can I prevent this question from popping op every time?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Olav&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;geshifilter&quot;&gt;&lt;pre class=&quot;igor geshifilter-igor&quot; style=&quot;font-family:monospace;&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;Function&lt;/span&gt; processfiles&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;folder&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
 
&lt;span class=&quot;kw2&quot;&gt;String&lt;/span&gt; folder
&lt;span class=&quot;kw4&quot;&gt;NewPath&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;Q&lt;/span&gt; datadir, folder
&lt;span class=&quot;kw2&quot;&gt;String&lt;/span&gt; fileName
&lt;span class=&quot;kw2&quot;&gt;Variable&lt;/span&gt; index = 0
 
&lt;span class=&quot;kw1&quot;&gt;do&lt;/span&gt; fileName = &lt;span class=&quot;kw3&quot;&gt;IndexedFile&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;datadir, index, &lt;span class=&quot;st0&quot;&gt;&amp;quot;.txt&amp;quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;strlen&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fileName&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; == 0&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;break&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;endif&lt;/span&gt;
 
loadcsf&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;folder, fileName&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
 
&lt;span class=&quot;co1&quot;&gt;// here I work on the waves&lt;/span&gt;
 
&lt;span class=&quot;kw2&quot;&gt;end&lt;/span&gt;
 
&lt;span class=&quot;co1&quot;&gt;//########################&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;Function&lt;/span&gt; loadcsf&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;fromthisfolder, thisFile&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
 
&lt;span class=&quot;kw2&quot;&gt;String&lt;/span&gt; fromthisfolder
&lt;span class=&quot;kw2&quot;&gt;String&lt;/span&gt; thisFile
&lt;span class=&quot;kw4&quot;&gt;NewPath&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;Q&lt;/span&gt; datapath, fromthisfolder
 
&lt;span class=&quot;kw2&quot;&gt;String&lt;/span&gt; columnInfoString = &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;quot;&lt;/span&gt;
columninfostring + = &lt;span class=&quot;st0&quot;&gt;&amp;quot;N=&#039;Time1&#039;; &#039;N=Current1&#039;; &#039;N=&#039;Voltage1&#039;;&amp;quot;&lt;/span&gt;
 
&lt;span class=&quot;kw4&quot;&gt;loadWave&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;J&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;A B=columninfostring &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;P&lt;/span&gt;=datapath &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;Q&lt;/span&gt; thisFile
 
&lt;span class=&quot;kw2&quot;&gt;end&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/822#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Tue, 28 Oct 2008 08:03:29 -0500</pubDate>
 <dc:creator>Olav Kiam</dc:creator>
 <guid isPermaLink="false">822 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Rename Graphwindow from string variable</title>
 <link>http://www.igorexchange.com/node/821</link>
 <description>&lt;p&gt;Dear Igor users,&lt;/p&gt;
&lt;p&gt;Today I am having some trouble with naming the graph-windows. I would like to be able to give the graph (or window, does it matter?) a name that is stored in a string variable. However, what happens is that the graphwindow gets the literal of that I write after the /N flag (in the code &#039;graphName&#039; will be the new title). I tried to workaround this with the RenamWindow command, but got the same trouble. See code below.&lt;/p&gt;
&lt;p&gt;Is there a way to name the graphs in the way that I want to do?&lt;/p&gt;
&lt;p&gt;&lt;IGOR&gt;&lt;br /&gt;
Function displayGraph(this_wave, x_axis, graphName)&lt;/p&gt;
&lt;p&gt;String this_wave&lt;br /&gt;
String x_axis&lt;br /&gt;
String graphName&lt;/p&gt;
&lt;p&gt;Display /N=graphName /L=VertCrossing/B=HorizCrossing $this_wave vs $x_axis;&lt;/p&gt;
&lt;p&gt;end&lt;br /&gt;
&lt;/IGOR&gt;&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/821#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Mon, 27 Oct 2008 13:16:40 -0500</pubDate>
 <dc:creator>Olav Kiam</dc:creator>
 <guid isPermaLink="false">821 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>Graph axis in middle of wave-line</title>
 <link>http://www.igorexchange.com/node/820</link>
 <description>&lt;p&gt;Dear Igor Users,&lt;/p&gt;
&lt;p&gt;Is it possible to put the x-axis and the y-axis on the zero line? This way the graph-line would be something like Current = a*Voltage, and the both axis&#039; would look like a coordinate system, except with different scalings.&lt;br /&gt;
If this is possible, how can you do that?&lt;/p&gt;
&lt;p&gt;Thanks in advance,&lt;/p&gt;
&lt;p&gt;Olav&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/820#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Sat, 25 Oct 2008 05:10:15 -0500</pubDate>
 <dc:creator>Olav Kiam</dc:creator>
 <guid isPermaLink="false">820 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>including erros when fitting</title>
 <link>http://www.igorexchange.com/node/819</link>
 <description>&lt;p&gt;Hello everyone,&lt;/p&gt;
&lt;p&gt;i can&#039;t find any way to include my errors (wssr, esd..) when i fit to experimental data. Also, how do i produce error-beams in a graph?&lt;br /&gt;
I&#039;m currently coping with four different softwares for fitting, plotting, ... surely igor must be able to do anything sigmaplot or excel or any standard fitting-software can do..?&lt;/p&gt;
&lt;p&gt;thanks a lot&lt;br /&gt;
pascal&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/819#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Thu, 23 Oct 2008 13:57:27 -0500</pubDate>
 <dc:creator>pascal</dc:creator>
 <guid isPermaLink="false">819 at http://www.igorexchange.com</guid>
</item>
<item>
 <title>random numbers</title>
 <link>http://www.igorexchange.com/node/818</link>
 <description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;can Igor generate random numbers? say, gaussian spread around zero mean value or a uniform spread between 0 and whatever value.&lt;/p&gt;
&lt;p&gt;or is there any other way to produce noise generator function which i can then loop and every time it is run the result is different (random)&lt;/p&gt;
&lt;p&gt;thanks in advance&lt;br /&gt;
Slav&lt;/p&gt;
</description>
 <comments>http://www.igorexchange.com/node/818#comments</comments>
 <category domain="http://www.igorexchange.com/taxonomy/term/5">General</category>
 <pubDate>Thu, 23 Oct 2008 11:42:53 -0500</pubDate>
 <dc:creator>VL2008</dc:creator>
 <guid isPermaLink="false">818 at http://www.igorexchange.com</guid>
</item>
</channel>
</rss>
