<@U01819B63HP>: Just wondering is there a way to v...
# xschem
d
@Stefan Schippers: Just wondering is there a way to view signals on multiple rows of the same plot in the xschem waveviewer? For example, in the below screenshot, all the signals are superimposed onto the same plot. Can I move them onto multiple rows in the same plot or do you need to create a separate graph for each signal in this case? Txs
f
In Minute 6:40 in Xschem's tutorials page might help; https://xschem.sourceforge.io/stefan/xschem_man/video_tutorials/xschem_graphs.mp4
l
Try the following plot command
plot v(clk) v(rst)+3.3 v(d1)+6.6 v(d2)+9.9
s
@Diarmuid Collins @tnt If you plot waves inside xschem there is a '`Digital`' mode that stacks waves one on top of the other. More importantly this view mode is used to display bus bundles (=multiple signals combined) . Double click inside the graph and set the 'Digital' checkbox
1
d
Thanks @Stefan Schippers. Actually I should have mentioned I was already using the digital mode in another plot, as shown below. I just wanted to know if you could do it in an "analog" mode. While we are talking of the digital mode - Im confused as to the y-axis scaling. In the attached by setting "Y max" = 2, I can see all the signals. However, they are slightly overlapped. If I increase to 2.4 that overlap goes away and if I increase beyond that I start to loose signals. Trying to make sense of what "Y max" = 2 actually represents since the signals are all 3.3V. Could you elaborate on this a bit so I can understand how to manipulate it as required. Thanks.
s
@Diarmuid Collins The "digital" mode is not a digital plot, signals are displayed as analog waveforms, it only means signals are displayed in stacked order instead of overlapped. However as you might notice the Y resolution of each signal is reduced. If you place the mouse pointer to the left, close to the Y axis and use the mouse wheel with Shift pressed you can increase/decrease the height of the signals (it's like a vertical zoom). If you increase too much the signal name does probably get truncated as it is scaled too.(see image). The Ymin - Ymax should always be set to the min-max voltage level of the signals in the graph. If you set a lower value xschem allocates space for that voltage range, if signals go beyond that you see vertical overlaps. You never lose signals, they might not fit into the graph area. Placing the mouse to the left of the y axis, pressing left button and moving the mouse vertically you drag the signals up and down, so you can bring out of view signals back in. To see all signals either zoom vertical (as explained above) to make signals smaller in Y direction or increase the graph size.
@Diarmuid Collins of course another way to see analog signals in different graphs is to place multiple graph rectangles and align them vertically (see image).
d
Thanks @Stefan Schippers. That explains it all. I was getting stuck by thinking the digital mode only meant 0/1 plotting. Great feature. Yeah, plotting multiple graph rectangles works nicely also. Cheers