Results 1 to 2 of 2

Thread: tcsh scripting with gnuplot

  1. #1
    Join Date
    Jun 2008
    Beans
    204
    Distro
    Ubuntu 10.04 Lucid Lynx

    tcsh scripting with gnuplot

    Hi all,

    I have ~1500 data files for which I want to produce graphs in gnuplot and save. I have been using gnuplot a while and know how to do this for individual files, but dont want to have to do it manually 1500 times!
    From what I have seen you can loop in gnuplot scripts, but I am not convinced that this will help me plot and save all of my graphs. I think my best bet would be some tcsh script. I am a total novice, but was thinking something like:

    for i in *; do
    gnuplot
    ...
    echo plot "$i"
    ...
    exit
    done

    If anyone knows how to do this in gnuplot alone that would be great too, but my search so far has come up with nothing.

    Cheers

  2. #2
    Join Date
    Jun 2008
    Beans
    204
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: tcsh scripting with gnuplot


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •