wavedrom icon indicating copy to clipboard operation
wavedrom copied to clipboard

Positive and negative pulses

Open Keyhad opened this issue 1 year ago • 1 comments

Thanks community, I used wavedrom for the first time and it is very handy. Due to working with medium voltage, and sending pulses for long distance, I need to draw positive and negative pulses in a the wave. But I didn't find any way to draw negative pulse with wavedom, I notice that we have translate function in SVG generated html and if we add scale after that we can flip the wave but it will flip whole the wave not just one part. Do you have any idea how to do that?

Keyhad avatar Dec 19 '23 14:12 Keyhad

With the 'pw' functionality, pretty much any waveform can be rendered.

However, for your particular case - I think you are referring to a 'bipolar waveform', correct?

Let me know how you want to specify the new wave, and I can see if a 'plugin wrapper' can be created. For reference, a plugin wrapper for trigonometric waveforms was developed here. The solution for your case would probably be something similar.

Ganesh-AT avatar Dec 23 '23 22:12 Ganesh-AT