Gnuplot on terminal osx 10.4.9 (intel)

Discussion in 'Mac Programming' started by ScKaSx, Dec 10, 2007.

  1. ScKaSx macrumors regular

    Joined:
    Feb 27, 2006
    #1
    Hi All,

    I am trying to use gnuplot from terminal and get the following DISPLAY error when I run a command:

    I can run it from x11 but prefer to run it from terminal. Plus, I could run it from terminal fine with my older powerbook osx 13.9. Any suggestions would be appreciated.

    Cheers,
    ScKaSx
     
  2. neoserver macrumors 6502

    Joined:
    Apr 24, 2003
    #2
    Given the error message, it appears as if gnuplot requires the presence of X11. So I think you'll have to settle for running it within X11 unless fink has a version of gnuplot that doesn't use X11?
     
  3. ChrisA macrumors G4

    Joined:
    Jan 5, 2006
    Location:
    Redondo Beach, California
    #3
    You need to set the "terminal type". You can type "set terminal" at the gnuplot prompt to get alist of the types built into your copy of gnuplot. My copy here has maybe 30 types supported only four of them require X11.
     
  4. ScKaSx thread starter macrumors regular

    Joined:
    Feb 27, 2006
    #4
    Thanks guys, I understand how to run it now. I just need to type "set terminal aqua" on the commandline at the beginning of each session.

    Thanks.

    Cheers,
    ScKaSx
     

Share This Page