jbush001 / DrawWaveform

A set of postscript functions for drawing waveforms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

sample

About

A set of postscript functions for drawing waveforms


Languages

Language:PostScript 100.0%