I'm using MacBook Pro running OSX 10.10 with XQuartz installed.
The Gnuplot version is 4.6.5.
After setting the terminal to xterm by typing "set term xterm", I can only get messy code in the terminal without other windows showing up.
Anyone knows how to solve it?
Here is a screen shot.

For me, the xterm terminal works only when also gnuplot was started from an xterm. Otherwise I do also see the 'messy' characters:
xterm.gnuplotset terminal xterm; plot xon the gnuplot command line.But do you really want to use the
xtermterminal? I think using any other terminal likewxt,qtoffers more possibilities.