![]() ![]() ![]() CTRL + Z -> undo (only one action before Igor 7).CTRL + F, CTRL + G -> find, find again (with shift, go the opposite direction).CTRL + C, CTRL + X, CTRL + V -> copy, cut, paste. ![]() -> in a graph: autoscale axes Graph -> Autoscale Axes.CTRL + A -> in a table or in the command window: select all.CTRL + Y -> in a graph or table, rename window.CTRL + I -> in a graph, enables cursors ("info") ( Graph -> Show Info).CTRL + T -> in a graph or panel, enables or disables tools.CTRL + M -> brings the procedure window to the front.6.5.1 Print results to Command Window History.6.4.1.4 Making multiple conditional tests.6.4.1.3 Making multiple conditional tests in the same test.6.4.1.1 Comparison operators for Numbers.6.3.1 Accessing Global Objects in a Function.6.2.3 Bringing an ipf to the front in an experiment.3.5.4 "Drawn" text (less interactive than a text box).3.5.3 Tag (Text that is associated with a point in a wave).2.2.2 As a list of values, in the command line.In the example below, you are supposed to have a "original_x_wave" of 100 points as the x wave and "original_data_wave" of 100 points as the data wave. Specify X1, Y1, and Z1 waves and convert them to matrix. Click Data->package->XYZ to matrics, and select Macro->XYZ wave to matrix. Input a single value such as "0" in the 0th to (n-1)th rows of the y1 wave and input a different value such as "1" in the nth to (2n-1)th rows of the y1 wave. Paste x and z(data) values to 0th to (n-1)th rows of the x1 and z1 waves and again nth to (2n-1)th rows of the x1 and z1 waves. Make x1, y1, and z1 1D waves having 2n points. Suppose you have x wave and z (data value) wave of n points at the beginning. If the x values are not regularly separated and stored in a 1D wave, you need to make new x, y, and z 1D waves at first and convert them to a 2D matrix using "XYZ wave to matrix" macro provided by Wavemetrics. If the x values are separated by a constant value, you only need to make a n x 2 matrix and paste the data value to the first and second columns, and scale the x and y indices. Y ou need to make a 2D matrix with the size of n x 2, where n is a length of the 1D data wave. (4) Making a 3D surface from a 1D curve by an operation similar to "extrude" in the adobe illustrator. Interpolate2 /N=(3*351) /Y= path_color_wave a x3 path_color_wave a Interpolate2 /N=(3*351) /Y= path_color_wave b x3 path_color_wave b Interpolate2 /N=(3*351) /Y= path_color_wave g x3 path_color_wave g Interpolate2 /N=(3*351) /Y= path_color_wave rx3 path_color_wave r Make /N=(351,1)/D path_color_wave r, path_color_wave g, path_color_wave b, path_color_wave a //1D waves for rgba path_color_wavex3(1053,4) is the destination wave. Suppose we have the color wave path_color_wave (351, 4). To make (Mx3, 4) or (Mx5, 4) color wave, you can use interpolate2 command. Path plot (3D tube, with end cap): (Mx5, 4) Path plot ( 3D tube, without end cap): (Mx3, 4) Then the size of the color wave should be Suppose the number of row of the XYZ wave is M. To colorize path plot using color wave, you need to prepare a color wave with different size depending on the type of path plot. (5) Colorize path plot using color waves. t= 1 corresponds to opaque, and t=0 means transparent. The r, g, b, t values should be between 0 and 1. This can be done using a homemade function "snt_makecolorwave_manrange" in our group. The color wave should be made for each data and for each color scale. Additionally, the transparency factor alpha is stored at CW(a, b, 3) as CW(a, b, 3) = alpha. b) for a pixel at (a, b) in the original 2D matrix data is stored in the color wave CW(i, j, k) as CW(a, b, 0) = r, CW(a, b, 1) = g, CW(a, b, 2) = b. The layer k corresponds to the r, g, b and t components of the RGB color. The row i and column j corresponds to the row and column of the original 2D wave. (If you don't want to specify the transparency level, the color wave dimension can be m x n x 3.) The 4 layers are for r, g, b and a for transparency. If the dimension of the original 2D matrix data is m x n, then the dimension of the color wave should be m x n x 4. To give a special color to the 3D surface other than the fixed colors or the built-in color tables, you need to make your own color wave against the data. You can colorize the surface using a fixed color or built-in color tables. (1) Colorize surface plots using non-built-in color table waves. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |