Is there a way to convert ngspice waveform viewer ...
# xschem
j
Is there a way to convert ngspice waveform viewer graphs to png, for documentations
r
ngspice has a
hardcopy
comand, it works similar to plot but saves the output to a .ps file (which can be converted to png). The main difference is that you supply the output filename as part of the command (e.g.
hardcopy <http://output.ps|output.ps> ...
(with the dots replaced with what you would put in the plot command)
👍 1
d
This is an good question. @Stefan Schippers: To save plots from xschems waveviewer I always just printscreen and the image saves as .png. This is fine but just wondering is there another way, for example which may let me save the attached image with a white background? Small thing really but just said Id ask.
j
I was able to do it in ngspice window using hardcopy command and I later converted it to pdf
s
@Diarmuid Collins to save a svg or pdf or png image of the graphs with white background do the following: • switch xschem to light colorscheme (View->Toggle colorscheme) • drag a selection rectangle around the graphs you want in the hardcopy to select them • File -> Image Export -> PNG or SVG or PDF
d
@Stefan Schippers: Works perfectly! Great to know this feature exists. Thanks