I just installed v.6.0.0 on my Mac and tried to set the terminal type to x11, but I'm told that the terminal type is now "unknown". Indeed, if I check the online help for term type x11, it is not listed anymore, but in the User Guide it still is. Does it exist or not? If not, it should be removed from the User Guide.
I don't know if it matters, but I haven't installed the X11 Quartz stuff for the Mac and installed gnuplot via homebrew. Does that somehow affect the choice of terminal types available?
The x11 terminal type definitely still exists. Whether it was included in the build of the executable you are running is another question. When you type (in gnuplot)
set terminal
with no further parameters it should print out a list of terminal types included in that particular copy of gnuplot. Is x11 listed?I don't know how much homebrew tailors the configuration to what it sees installed on your machine. It's quite possible that when building gnuplot it only includes the x11 terminal if it sees you have X11 Quartz already installed. I suggest you ask about that on a homebrew forum.
In general the User Manual has a section for all possible terminals. It would be unusual for every one of them to be present in any one gnuplot executable - some are Mac only, some are deprecated relics that nevertheless someone might want for compatibility with old scripts, some are alternatives to each other, and so on.
Thanks for explaining this, Ethan. No, x11 is not listed among the available terminal types, which I show below. I guess I will ask about this at some Homebrew forum then.
I am only one of the homebrew users, but I would like to comment.
Unfortunately, gnuplot installed with homebrew only supports qt as an interactive terminal, x11 and wxt are disabled.
Before homebrew version 2.0.0 it was possible to enable x11 using the install option, but now that option is gone.
Because of this situation, I build gnuplot myself. For reference, when using Xquartz, I pass the following options to configure
To build within the homebrew framework, you can prepare your own modified homebrew formula (gnuplot.rb) and build it from source using the '--build-from-source' option, but I have not tried this.
Ticket moved from /p/gnuplot/bugs/2684/
Can't be converted: