From 9f08301128db3f545f72c04862e2d5cfe897014e Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Tue, 13 Jan 2026 15:50:03 +0100 Subject: [PATCH] Better graphics --- examples/memristor/memristor.sp | 1 + examples/memristor/memristor_x.sp | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/memristor/memristor.sp b/examples/memristor/memristor.sp index 0664f1075..c41787430 100644 --- a/examples/memristor/memristor.sp +++ b/examples/memristor/memristor.sp @@ -51,6 +51,7 @@ let newstime = stime/1.4 let deltime = newstime/100 alter @V1[sin] [ 0 $&vmax $&newfreq ] tran $&deltime $&newstime uic +set xbrushwidth=2 * the 'programming' currents plot tran1.alli tran2.alli alli title 'Memristor with threshold: Internal Programming currents' * resistance versus time plot diff --git a/examples/memristor/memristor_x.sp b/examples/memristor/memristor_x.sp index 198cb979b..a9bf93198 100644 --- a/examples/memristor/memristor_x.sp +++ b/examples/memristor/memristor_x.sp @@ -65,6 +65,7 @@ let newstime = stime/1.4 let deltime = newstime/100 alter @V1[sin] [ 0 $&vmax $&newfreq ] tran $&deltime $&newstime uic +set xbrushwidth=2 * the resistor currents plot tran1.alli tran2.alli alli title 'Memristor with threshold: currents' * calculate resistance (avoid dividing by zero)