Joined: 25 Nov 2006
Location: Chapel Hill, NC
|Posted: Thu Jun 01, 2017 12:52 pm Post subject:
|The date column is dealt with numerically as an unix date, i.e. seconds from January 1st 1970. So 3 days is really the numerical value 3*24*3600
Error bars get data from the table with one value per row. If you want to create them either as a constant or percentages of values you need to create an expression column.
That is, create a column "error" and specify the expression
Only doing that will prompt you for the length of the column, since DG can't infer the length from the column. If you use a column in the expression, it will be used to figure out the length, so if you have a column called "value" you can use the trick
value*0 + 3*24*3600
This will use the length and mask from value but since you are multiplying it by 0 it won't affect the value.
You can also use a global variable to extract the length of the column and then use that global variable in the expression to specify the number of rows.
Then use the error column in the Error bar settings for the Point or Plot command.