May be like this? h=: 3 4 7 18 15 12 9 8 7 NB. high level l=:1 2 5 13 10 8 7 6 5 NB. low level t=:0 1 2 3 3.3 3.6 4.6 5.6 6.6 NB. logged time
'errorbar' plot t;<h,(-:h+l),:l =@@i David Vincent-Jones schreef: > I should have given an example to better illustrate the problem. > > The pump system normally operates every hour except when there is an > emergency situation at which time it changes both the volume pumped and > the pumping interval. > > A typical report to be bar graphed might look like this: > 3 4 7 18 15 12 9 8 7 NB. high level > 1 2 5 13 10 8 7 6 5 NB. low level > 0 1 2 3 3.3 3.6 4.6 5.6 6.6 NB. logged time > > What I would like to see is the operations correctly located on the X > time-line that could be calibrated in either minutes or minimally in > 1/10 of an hour. There would be 'clumping' of data along the line. > > > > On Thu, 2009-02-12 at 19:15 -0800, Oleg Kobchenko wrote: > >>> From: David Vincent-Jones <[email protected]> >>> >>> I am creating (would like to create) a stacked bar plot of events that occur >>> at erratic intervals during a single day. >>> >>> Events are logged to the minute and I would like to place the bars on the >>> correct X time location with gaps where there is no data. >>> >>> So far all I have achieved is a uniform X scale that is not telling the >>> whole story. >>> >> Maybe you need a stick plot type >> >> 'stick'plot <"1] 2 100 ?...@$ 2400 >> >> >> >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm >> > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
