nyqlog.m

Nyquist plot with logaritmic amplitudes for GNU Octave.
Index Commits Files Refs README
commit 94a690759a463317ff98cd616aa97bcd9a1e55b4
parent 407f3c9d124d28eb8886720601bfe4a6ba500ec4
Author: Martin Kloeckner <mjkloeckner@gmail.com>
Date:   Fri,  1 May 2026 20:38:09 -0300

Add bonus section

Diffstat:
MREADME.md | 15++++++++++++++-
Anyqlog_octave_dark.png | 0
Anyqlog_octave_light.png | 0
Dnyqlog_octave_version_dark.png | 0
4 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
@@ -7,7 +7,7 @@ for GNU Octave. To use it the
 installed.
 
 <div style="text-align: center;">
-    <img src="nyqlog_octave_version_dark.png" width="100%">
+    <img src="nyqlog_octave_light.png" width="100%">
     <p align="center"><em>Nyquist plot with logarithmic amplitudes</em></p>
 </div>
 
@@ -31,3 +31,16 @@ Transfer function 'sys' from input 'u1' to output ...
 Continuous-time model.
 octave:3> nyqlog(sys)
 ```
+
+## Bonus: dark theme
+
+This ported version of the function takes the colors from the variables defined
+and used by Octave to render the figures: `defaultFigureColor` and
+`defaultAxesXColor`. If you have customized these variables in Octave's
+configuration file, the function will automatically use those colors as well.
+
+<div style="text-align: center;">
+    <img src="nyqlog_octave_dark.png" width="100%">
+    <p align="center"><em>Nyquist plot with logarithmic amplitudes. Custom figure colors.</em></p>
+</div>
+
diff --git a/nyqlog_octave_dark.png b/nyqlog_octave_dark.png
Binary files differ.
diff --git a/nyqlog_octave_light.png b/nyqlog_octave_light.png
Binary files differ.
diff --git a/nyqlog_octave_version_dark.png b/nyqlog_octave_version_dark.png
Binary files differ.