diff --git a/examples/svg/nmos_out_BSIM330_png.sp b/examples/svg/nmos_out_BSIM330_png.sp index 42f74f3cc..7e1b5ce92 100644 --- a/examples/svg/nmos_out_BSIM330_png.sp +++ b/examples/svg/nmos_out_BSIM330_png.sp @@ -34,13 +34,17 @@ set nolegend * only the gnuplot window, no gnuplot files gnuplot temp vss#branch vss2#branch title 'Drain current versus drain voltage' xlabel 'Drain voltage / V' ylabel 'Drain current / µA' - -* for MS Windows only +* MS Windows if $oscompiled = 1 | $oscompiled = 8 shell Start c:\"program files"\irfanview\i_view64.exe plot_1.png else + if $oscompiled = 7 +* macOS (using feh from homebrew) + shell feh --conversion-timeout 1 plot_1.png & + else * for CYGWIN, Linux - shell feh --magick-timeout 1 plot_1.png & + shell feh --magick-timeout 1 plot_1.png & + end end .endc diff --git a/examples/svg/nmos_out_BSIM330_svg-2.sp b/examples/svg/nmos_out_BSIM330_svg-2.sp index 3550e1d88..e7ee19c3f 100644 --- a/examples/svg/nmos_out_BSIM330_svg-2.sp +++ b/examples/svg/nmos_out_BSIM330_svg-2.sp @@ -51,9 +51,15 @@ if $oscompiled = 1 | $oscompiled = 8 shell Start plot_10.svg shell Start plot_11.svg else + if $oscompiled = 7 +* macOS (using feh from homebrew) + shell feh --conversion-timeout 1 plot_10.svg & + shell feh --conversion-timeout 1 plot_11.svg & + else * for CYGWIN, Linux - shell feh --magick-timeout 1 plot_10.svg & - shell feh --magick-timeout 1 plot_11.svg & + shell feh --magick-timeout 1 plot_10.svg & + shell feh --magick-timeout 1 plot_11.svg & + end end .endc diff --git a/examples/svg/nmos_out_BSIM330_svg.sp b/examples/svg/nmos_out_BSIM330_svg.sp index aac50c99b..12036a3a7 100644 --- a/examples/svg/nmos_out_BSIM330_svg.sp +++ b/examples/svg/nmos_out_BSIM330_svg.sp @@ -81,13 +81,23 @@ if $oscompiled = 1 | $oscompiled = 8 shell Start plot_4.svg shell Start plot_5.svg else + if $oscompiled = 7 +* macOS (using feh and ImageMagick from homebrew) + shell feh --conversion-timeout 1 plot_0.svg & + shell feh --conversion-timeout 1 plot_1.svg & + shell feh --conversion-timeout 1 plot_2.svg & + shell feh --conversion-timeout 1 plot_3.svg & + shell feh --conversion-timeout 1 plot_4.svg & + shell feh --conversion-timeout 1 plot_5.svg & + else * for CYGWIN, Linux - shell feh --magick-timeout 1 plot_0.svg & - shell feh --magick-timeout 1 plot_1.svg & - shell feh --magick-timeout 1 plot_2.svg & - shell feh --magick-timeout 1 plot_3.svg & - shell feh --magick-timeout 1 plot_4.svg & - shell feh --magick-timeout 1 plot_5.svg & + shell feh --magick-timeout 1 plot_0.svg & + shell feh --magick-timeout 1 plot_1.svg & + shell feh --magick-timeout 1 plot_2.svg & + shell feh --magick-timeout 1 plot_3.svg & + shell feh --magick-timeout 1 plot_4.svg & + shell feh --magick-timeout 1 plot_5.svg & + end end .endc diff --git a/examples/svg/nmos_out_BSIM330_various.sp b/examples/svg/nmos_out_BSIM330_various.sp index 24be8defe..e9e56138b 100644 --- a/examples/svg/nmos_out_BSIM330_various.sp +++ b/examples/svg/nmos_out_BSIM330_various.sp @@ -66,10 +66,16 @@ hardcopy plot_5.svg vss#branch title 'Drain current versus drain voltage' xlabel if $oscompiled = 1 | $oscompiled = 8 shell Start /B plot_4.svg shell Start /B plot_5.svg -* for CYGWIN, Linux else - shell feh --magick-timeout 1 plot_4.svg & - shell feh --magick-timeout 1 plot_5.svg & + if $oscompiled = 7 +* macOS (using feh from homebrew) + shell feh --conversion-timeout 1 plot_4.svg & + shell feh --conversion-timeout 1 plot_5.svg & +* for CYGWIN, Linux + else + shell feh --magick-timeout 1 plot_4.svg & + shell feh --magick-timeout 1 plot_5.svg & + end end .endc