Menu

loading a txt file not working

Help
2021-06-29
2021-07-11
  • Peter Newton

    Peter Newton - 2021-06-29

    I am trying to get the parameter -a10 form the second line of this txt file to insert on a plot. I have tried using the load command but it brings up an error.

    gnuplot> rm /tmp/vtsidplot*data
                     ^
                    "plinkcmd.txt" line 1: invalid command
    

    Does anyone have an ideal as to how I can do this?
    Txt file

    rm /tmp/vtsidplot*data
    /usr/local/bin/vtsidex -T2021-06-28_00:00:00 -mJXN -a10 -d1 -h360 -ote  /media/pete/Data/vlf-data | awk '{ print $1, (log($2)/log(10))*20, $3}' > /tmp/vtsidplot_JXN.data
    stat -c "Data file %n created (%s bytes)" /tmp/vtsidplot_JXN.data
    
     

    Last edit: Hans-Bernhard Broeker 2021-07-11
  • Hans-Bernhard Broeker

    On what basis did you conclude that regular shell commands like 'rm' would just work in a gnuplot script?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.