Re: Creating 2D graphic strip chart with trace wrapping



Markus Svilans wrote:
Hi,

I am writing an application to display a 2D graphic strip chart of
data.

The dynamic range of some of the data traces is quite large, so I would
like to wrap them between upper and lower limits. If the data value
"shoots through" the upper limit, it re-enters from the lower limit. If
the data value "drops through" the lower limit, it re-enters from the
upper limit.

Is there an OpenGL strategy to automate the trace wrapping? Is it
somehow possible to reflect the 2D line at the upper and lower bounds,
to reappear at the opposite bound?

Render three times -- one for the proper range, one to put what falls above
the upper bound back in the visible range and one to put what falls below the
lower bound in the visible range.

If it wraps more than that, I would question the wisdom of the approach.

--
Andy V
.



Relevant Pages

  • Re: Programmable Counter
    ... and lower limit, which can be programmed when enable is low. ... upper limit and lower limit? ... limit which is only enabled at the appropriate time when not counting. ...
    (comp.lang.verilog)
  • Re: [Translation] framing of an expression ?
    ... It is common expression in french, and seems to me usefull, ... to avoid to repeat twelve times 'lower and upper bounds'... ... I think I may have seen the phrase "absolutely bounded", ... defined in the most general context wherein upper and lower bounds ...
    (sci.math)
  • Re: Using CountIf with criteria on another sheet
    ... perfect match. ... >> fall between upper and lower limit values on another sheet? ... >> Where a1:z1 are values to be compared against the upper and lower limit ... >> then counted if they meet the criteria ...
    (microsoft.public.excel.worksheet.functions)
  • Re: fmincon error in planerot (bug?)
    ... when constraining the solution with upper and lower bounds. ... (rest of original post removed for brevity) ... I found I can usually avoid this ...
    (comp.soft-sys.matlab)
  • Re: Length & number of radials
    ... handle on upper and lower bounds. ... our elementary physics books. ...
    (rec.radio.amateur.antenna)