Displaying 2 results from an estimated 2 matches for "range_high".
2009 May 13
2
plotting multiple data sources
...d all the data I need to
plot.. let say 5-6 arrays
I do a plot() and then I created a function to scale the other data to
approx fit the initial range
so it can fit plotted data and then draw it with lines().
Here is the example function I use.
Blah.scale_to_range = function(self,data,range_low=0,range_high,
skip_cond=(data > 0) ) {
ratio <- (range_high - range_low) / (max(data) - min(data))
((data - min(data)) * ratio) + (range_high - range_low)/2
}
so far so good.. the problem I have is that I want the x axis to be Date range.
I can plot( x$date, x$values, type='l'), but then late...
2014 Dec 16
0
[ANNOUNCE] nftables 0.4 release
...type: take endianess into account in symbolic_constant_print()
proto: fix byteorder of ETH_P_* values
verdict type: handle verdict flags and encoded additional information
parser: simplify monitor command parsing
parser: compact log level grammar
expr: make range_low()/range_high() usable outside of segtree
queue: clean up queue statement
parser: rearrange monitor/export rules
dtype: remove unnecessary icmp* parse/print functions
stmt: rename nat "random-fully" option to "fully-random"
meta: properly align types in meta_temp...