G N U P L O T
Version 5.2 patchlevel 8 last modified 2019-12-01
Copyright (C) 1986-1993, 1998, 2004, 2007-2019
Thomas Williams, Colin Kelley and many others
gnuplot home: http://www.gnuplot.info
faq, bugs, etc: type "help FAQ"
immediate help: type "help" (plot window: hit 'h')
Terminal type is now 'wxt'
gnuplot> plot sin(x)
Unable to init server: Could not connect: Connection refused
19:59:45: Error: Unable to initialize GTK+, is DISPLAY set properly?
Failed to initialize wxWidgets.
Terminal type is now 'unknown'
wxt init failure
gnuplot>
I have installed the Ubuntu extension for Windows, but I run into troubles when I want to use gnuplot... I am just trying to plot a simple data file, but I get the following error :
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-julien_barbaud'
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
Could not connect to existing gnuplot_qt. Starting a new one.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to
'/tmp/runtime-julien_barbaud'
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
As you may guess, I am not veryfamiliar with this problem. Is there Something I should set up in my environment to fix this ?
EDIT: after the suggestion in comments, I tried to use set term postscript
. The output is different, but still no plot...
And after trying set term png
, the plot command gives me this:
some of the useful terminal types (wxt or qt) do not exist. With previous versions of gnuplot and ubuntu, wxt worked well. However, Debian apparently dropped support for wxWidgets 2.8, so gnuplot no longer has an option for the wxt terminal type. Can this be fixed, or qt be supported?
I am using gnuplot under ubuntu 12.10. When i type in terminal :
gnuplot> plot sin(x)
it only shows next step:
gnuplot>
but it doesn't show the graph plotting windows. What can I do to find the problem?
In GnuPlot, i am setting xtics to something like this:
set xtics
("AIM" 0.00000, "gtalk" 2.00000, "rtp-multicast-filetransfer" 4.00000, "sipc_music" 6.00000, "skype1" 8.00000, "skype2" 10.00000, "voip-extension" 12.00000, "voip-extension2downata" 14.00000, "ymessenger" 16.00000)
The problem is, that these labels overlap with each other in the plot, so how can i remove/overcome this overlapping?
Can I increase the length between xticks or write some kind of legend showing:
rmf : rtp-multicast-filetransfer
?