https://github.com/jbush001/drawwaveform
A set of postscript functions for drawing waveforms
https://github.com/jbush001/drawwaveform
Last synced: 3 months ago
JSON representation
A set of postscript functions for drawing waveforms
- Host: GitHub
- URL: https://github.com/jbush001/drawwaveform
- Owner: jbush001
- Created: 2012-11-04T16:08:27.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2015-06-30T04:36:19.000Z (over 10 years ago)
- Last Synced: 2025-03-24T23:48:34.017Z (7 months ago)
- Language: PostScript
- Size: 180 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a postscript library that allows creating waveform images. The waveforms are specified by calling a small set of library functions (there is an example at the end of the source file). As is typical in postscript, parameters appear before the function name.
_numclocks_ _numsignals_ __startwaveform__
Begins drawing a new waveform with the specified number of clock transitions and signals
The clock waveform will be drawn automatically._name_ __newsignal__
Starts a new signal with the specified name
_value_ _numclocks_ __drawbit__
Draws a single bit waveform with a given value for a specified number of clocks
_label_ _numclocks_ __drawknown__
Draws a multi-bit waveform with the given label
_numclocks_ __drawunknown__
Draw a multi-bit waveform that is unknown. It will be filled with gray
_numclocks_ __drawhiz__
Draw a portion of signal that is floating (high impedance)
This can be invoked from ghostscript (gs waveform.ps) or you can double click the
postscript file directly on a Mac.