• Getting gnuplot to work on Windows

    From David Partridge@21:1/5 to David Partridge on Mon Sep 13 09:15:01 2021
    On Monday, September 13, 2021 at 4:46:33 PM UTC+1, David Partridge wrote:
    C:\Users\amonra\Downloads\Losmandy\PLOTS>dir
    Volume in drive C is Apollo
    Volume Serial Number is 172D-FED0

    Directory of C:\Users\amonra\Downloads\Losmandy\PLOTS

    13/09/2021 16:06 <DIR> .
    13/09/2021 16:06 <DIR> ..
    13/09/2021 15:57 162,486 Servos.log
    13/09/2021 16:12 42 setpath.bat
    13/09/2021 15:59 0 Test.gnuplot
    3 File(s) 162,528 bytes
    2 Dir(s) 1,246,003,449,856 bytes free

    C:\Users\amonra\Downloads\Losmandy\PLOTS>

    The setpath.bat simply does: PATH = C:\Program Files\gnuplot\bin;%PATH% so that gnuplot can be invoked directly. The file Servos.log is the data and Test.gnuplot says:

    set datafile separator ','
    plot "servos.log" using 1:2 with lines, '' using 1:3 with lines

    If I type gnuplot -p Test.gnuplot nothing seems to happen ?? What am I doing wrong?

    Thanks
    David

    Problem solved - it needed a CRLF at the end of the 2nd line in the gnuplot file.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Partridge@21:1/5 to All on Mon Sep 13 08:46:32 2021
    C:\Users\amonra\Downloads\Losmandy\PLOTS>dir
    Volume in drive C is Apollo
    Volume Serial Number is 172D-FED0

    Directory of C:\Users\amonra\Downloads\Losmandy\PLOTS

    13/09/2021 16:06 <DIR> .
    13/09/2021 16:06 <DIR> ..
    13/09/2021 15:57 162,486 Servos.log
    13/09/2021 16:12 42 setpath.bat
    13/09/2021 15:59 0 Test.gnuplot
    3 File(s) 162,528 bytes
    2 Dir(s) 1,246,003,449,856 bytes free

    C:\Users\amonra\Downloads\Losmandy\PLOTS>

    The setpath.bat simply does: PATH = C:\Program Files\gnuplot\bin;%PATH% so that gnuplot can be invoked directly. The file Servos.log is the data and Test.gnuplot says:

    set datafile separator ','
    plot "servos.log" using 1:2 with lines, '' using 1:3 with lines

    If I type gnuplot -p Test.gnuplot nothing seems to happen ?? What am I doing wrong?

    Thanks
    David

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)