![]() If you want to plot spectra, for example, you will only need to change column number from 0 to the column number of interest. Note that when a matix is added to the list of waves to be plotted, Igor uses entire row range ( x, typically wavelength) and the first column ( y, typically time) as a 2D subrange by default: wave0. It is your responsibility to make sure that such data combination makes sense. For example SomeWave as X wave will work for either row of the example above. You can choose if you want to plot a column ( ) or a row ( ), but number of points in calibration wave must match or be limited by sub-range. Note that in the example above wave0 is a matrix and dialog specifies that column 0 of that matrix should be plotted vs row position wave RP_wave0, whcih was created when matrix was loaded. Moreover, you can plot an individual row or column of a matrix vs a wave or a row/column of another matrix. In this mode you can specify individual pairs of waves, choose separate axis for different wave pairs and limit ranges of data that you want to be dipalyed. To switch to advanced mode click More Choices button. ![]() New Graph or Add Traces dialogs allow greater chioce and flexibility if needed. Remove dialog simply allows you to choose which wave to remove. Select Append Traces to Graph or Remove from Graph:Īppend dialog is identical to dialog above for creating a new graph. Activate the graph of interest - submenu Graph will appear inthe main menu. ![]() You can freely shuffle traces displayed on a graph. Then select a calibration wave on the right:Īfter clicking on Do It button you will get a graph where each data point from My_Sample01 wave is displayed at X position from corresponding point in wln_clb wave. Select waves you want to plot on the left. You can select several Y waves by holding Shift key, but only one X wave can be selected. This will help you to locate it later on.Ĭlick Do It button and you will get a graph showing values in your wave. The most common left vs bottom is the default. Select your wave on the left and leave _calculated_ highlighted on the right.įrom Axis drop-down menus choose how you want data to be displayed. Open a New Graph dialog from Windows menu: You get a 2D plot with little information along X axis. In simple graph you display wave values sequentially or per scaling if it has been set. Visual representaion as a graph of one sort or another is one of basic, and most used, applications of Igor. 170101xxx, xxx is ranging from 001 to maybe 100, depending on how many data I collected.Making graphs in Igor Plotting waves in Igor These waves are consecutively numbered, the only difference is last 3 digits, for e.g. If you are going to do this a great number of times then I would create a function that returns the wave list with only the names needed.īy "start wave" and "end wave", I actually want to create an user interface, to prompt 2 input options, something like: This would leave a single wave, NewwaveName, as a 2D wave. concatenate/Kill (Wavelist("*"," ",""), NewwaveName drag copies of waves to made into a 2D wave into that folderĤ. For occasional use for example a work flow could beĢ. If this is to be done a lot you might want to spend. You say start and end, how are those described? For example is there a starting number and ending number as part of the wave names? Are the waves consecutively numbered.Īlso what is the usage you see going forward. The choice for you would be how to create the wave list string and your description needs a bit more clarity. You don't need to create the recipient wave ahead of time just give it a nameģ. It takes a list of 1D waves and creates a 2D wave from them unless you force non-promotion flagĢ. The place I would recommend starting is to look at the concatenate function.Ĭoncatenate /O] waveListStr, destWaveġ. But I don't even know where to start.Īny suggestions? I'd be definitely very appreciated if you guys would help me out with this. ![]() I am trying to make a macros that allows me to just input a "start wave" and "end wave" to automatically generate a 2D wave that contains all 1D waves between the "start" and "end". It's easy to make a 2D wave if I just want to put 2 or 3 1D waves inside, but it becomes quite time-consuming if I want to have many, let's say, 20 or even more 1D waves to make a 2D wave, by just typing these commands in sequence. I have several 1D wave data, and I want to make a 2D wave from those 1D waves, for instance. I am totally new to Igor pro and I got stucked in making a 2D wave from multiple 1D waves that I currently have. Wide-Angle Neutron Spin Echo Spectroscopy. ![]()
0 Comments
Leave a Reply. |