Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ScKaSx

macrumors regular
Original poster
Hi All,

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

gnuplot: unable to open display ':0.0'
gnuplot: X11 aborted

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
 
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?
 
I can run it from x11 but prefer to run it from terminal.
ScKaSx

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.
 
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.