![]() Let's say I would like to plot the function f(x) = exp(-x^2 / 2)over the range from 0 to 4. If you do not already have a corresponding columns of x values, you will have to make that to. To plot a function in Kaleidagraph, you must make a data column for the y values of your function. Suppose that you have data from five runs in columns 1 through 5, and you wish to compute the mean and the standard error (standard deviation of the mean) of each set of 5 data points, putting the results in columns 6 and 7. Compute the average of a column or a range of data. If c0 was created by the previous command to be a vector of values between 0 and 1, then the following command makes a step function in column c1 that is 1 for x 0.5: c1 = (c0 > 0.5 ? 0 : 1). This is useful for making step functions and the like. By default, a sheet has 128 elements, so the expression c0 = index()/127 makes a column with equally spaced values between 0 and 1. It is useful for making "dummy" x columns. index() is a function that returns 0 for the first row, 1 for the second row, etc.If you refer to a column that doesn't yet exist ( e.g., c3 in a sheet that has only 3 columns), it will be created automatically.This is not a bug but a feature! It allows you to enter a formula once and apply it to several columns by selecting them in turn. For purposes of the calculation, this is now column 0, and the column to its immediate right is column 1. ![]() Notice that this changes the number of the column at the top, making it 0. Let's say you have selected column 1 (by clicking at the top of the column).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |