Menu

gnuplot error message

Help
2015-06-12
2015-06-12
  • yasmin kattab

    yasmin kattab - 2015-06-12

    Hi i am new to gnuplot and i am writing a gnuplot script and i got this error
    message line 14: `/dev/shm/waitingTime.txt': not a valid identifier !
    i tried export but it did not work, and i am sure i have this file in this directory with this name!!!

    here is my simple script updated :

    #!/bin/bash
    
    set xlabel "start"
    set ylabel "Delay"
    set autoscale
    set style line 1 lt 1 lw 3 pt 3 linecolor rgb "red"
    plot<"/dev/shm/waitingTime.sh"> using 1:2 w lines title "tests"
    set terminal postscript portrait enhanced mono dashed lw 1 'Helvetica' 14
    set output '/dev/shm/TT.pdf'
    quit
    

    SO any suggestions?

     

    Last edit: Hans-Bernhard Broeker 2015-06-12
  • Hans-Bernhard Broeker

    So, if you were trying to write a gnuplot script, why is the shebang asking for it to be run by bash?

     

Log in to post a comment.