|
From: Elias A. <eli...@gm...> - 2015-02-04 10:27:41
|
Hi List,
I have successfully compiled gnuplot 5.0.0, and the ‘wxt’ and ‘x11’
terminals work fine. But when I try to plot something with the ‘qt’
terminal, gnuplot complains
gnuplot> p [-4:4] sin(x), [0:pi] cos(x)
Could not start gnuplot_qt with path
"/usr/local/libexec/gnuplot/5.0/gnuplot_qt"
Could not start gnuplot_qt with path
"/usr/local/libexec/gnuplot/5.0/gnuplot_qt"
Could not connect to gnuplot_qt "" . Starting a new one
Could not start gnuplot_qt with path
"/usr/local/libexec/gnuplot/5.0/gnuplot_qt"
Warning: slow font initializationgnuplot>
This looks like the error that was reported on Cygwin
<http://sourceforge.net/p/gnuplot/mailman/message/33209231/>, but I am
on an Ubuntu system. I see the same behavior whether I compile with
Qt4 or Qt5.
Any pointers?
Elias
--
Elias Assmann
Institute of Solid State Physics
Vienna University of Technology
<http://www.ifp.tuwien.ac.at/cms/>
|
|
From: Ethan A M. <EAM...@gm...> - 2015-02-04 17:38:15
|
On Wednesday, 04 February 2015 11:11:19 AM Elias Assmann wrote: > Hi List, > > I have successfully compiled gnuplot 5.0.0, and the ‘wxt’ and ‘x11’ > terminals work fine. But when I try to plot something with the ‘qt’ > terminal, gnuplot complains > > gnuplot> p [-4:4] sin(x), [0:pi] cos(x) > Could not start gnuplot_qt with path > "/usr/local/libexec/gnuplot/5.0/gnuplot_qt" > Could not start gnuplot_qt with path > "/usr/local/libexec/gnuplot/5.0/gnuplot_qt" > Could not connect to gnuplot_qt "" . Starting a new one > Could not start gnuplot_qt with path > "/usr/local/libexec/gnuplot/5.0/gnuplot_qt" > > Warning: slow font initializationgnuplot> > > This looks like the error that was reported on Cygwin > <http://sourceforge.net/p/gnuplot/mailman/message/33209231/>, but I am > on an Ubuntu system. I see the same behavior whether I compile with > Qt4 or Qt5. > > Any pointers? Is there in fact a gnuplot_qt executable in /usr/local/libexec/gnuplot/5.0/ ? -- |
|
From: - <mle...@gm...> - 2015-02-04 17:41:37
|
Can I ask what are the advantages of Qt over wxt? Leo On Wed, Feb 4, 2015 at 5:13 PM, Ethan A Merritt <EAM...@gm...> wrote: > On Wednesday, 04 February 2015 11:11:19 AM Elias Assmann wrote: > > Hi List, > > > > I have successfully compiled gnuplot 5.0.0, and the ‘wxt’ and ‘x11’ > > terminals work fine. But when I try to plot something with the ‘qt’ > > terminal, gnuplot complains > > > > gnuplot> p [-4:4] sin(x), [0:pi] cos(x) > > Could not start gnuplot_qt with path > > "/usr/local/libexec/gnuplot/5.0/gnuplot_qt" > > Could not start gnuplot_qt with path > > "/usr/local/libexec/gnuplot/5.0/gnuplot_qt" > > Could not connect to gnuplot_qt "" . Starting a new one > > Could not start gnuplot_qt with path > > "/usr/local/libexec/gnuplot/5.0/gnuplot_qt" > > > > Warning: slow font initializationgnuplot> > > > > This looks like the error that was reported on Cygwin > > <http://sourceforge.net/p/gnuplot/mailman/message/33209231/>, but I am > > on an Ubuntu system. I see the same behavior whether I compile with > > Qt4 or Qt5. > > > > Any pointers? > > Is there in fact a gnuplot_qt executable in > /usr/local/libexec/gnuplot/5.0/ ? > > > -- > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: Elias A. <eli...@gm...> - 2015-02-05 11:55:00
|
On 02/04/2015 06:41 PM, - wrote: > Can I ask what are the advantages of Qt over wxt? The release notes say “[Qt] is now the fastest and most full-featured interactive terminal option”. Beyond that, this is just what I wanted to see for myself. One of the most first differences I noticed is that the symbols (when plotting ‘with points’ or ‘with linespoints’) are asymmetric. What is the purpose of that? At first I thought it was so that you could tell apart different symbols more easily when points are on top of each other (e.g., like a “*” will hide “+” and “x” below it). But that is not the case since all of the symbols are asymmetric in the same way. Elias |
|
From: Elias A. <eli...@gm...> - 2015-02-04 18:07:30
|
On 02/04/2015 06:13 PM, Ethan A Merritt wrote: > Is there in fact a gnuplot_qt executable in /usr/local/libexec/gnuplot/5.0/ ? There was not, and it turns out that is the solution. I had used --program-suffix=-5.0 in ‘configure’, so there was -rwxr-xr-x 1 root root 2797689 Feb 4 10:42 gnuplot_qt-5.0* -rwxr-xr-x 1 root root 330062 Feb 4 10:42 gnuplot_x11-5.0* but no ‘gnuplot_qt’. Upon creating an appropriate symlink, the ‘qt’ terminal works! By the way, the ‘x11’ terminal works even though there is no ‘gnuplot_x11’ executable. Thank you. Elias |
|
From: Elias A. <eli...@gm...> - 2015-02-09 11:51:06
|
Hi Ethan, Thank you for the research. I can confirm Leo's report — what I see looks just like what he posted, including the symmetric points in the grayscaled PDFs. Saved SVGs also show symmetric markers, while a saved PNG has the asymmetric ones (although the asymmetry is left-right reversed with respect to the terminal!). However, I do not see any change when I turn off antialiasing in the dialog. (Note: I am writing from a different machine than before — here, I have not managed to compile the gnuplot 5 qt terminal, but the results with gnuplot4.6/qt look identical, as far as I can tell.) Should I still submit a bug report? (About the missing color?) Elias PS: You see, such is my faith in gnuplot that when I encounter a bug, I assume it is a new feature that I am not quite getting. |
|
From: BBands <bb...@gm...> - 2015-02-09 18:08:25
|
+1 for Post of the Month On Mon, Feb 9, 2015 at 3:50 AM, Elias Assmann <eli...@gm...> wrote: > PS: You see, such is my faith in gnuplot that when I encounter a bug, I > assume it is a new feature that I am not quite getting. |
|
From: Ethan M. <eam...@gm...> - 2015-02-06 01:37:25
|
On Thu, Feb 5, 2015 at 3:54 AM, Elias Assmann <eli...@gm...> wrote:
> On 02/04/2015 06:41 PM, - wrote:
>> Can I ask what are the advantages of Qt over wxt?
>
> The release notes say “[Qt] is now the fastest and most full-featured
> interactive terminal option”. Beyond that, this is just what I wanted
> to see for myself.
>
> One of the most first differences I noticed is that the symbols (when
> plotting ‘with points’ or ‘with linespoints’) are asymmetric. What is
> the purpose of that?
Could you clarify what you mean by "asymmetric"?
I attach a pdf file of a test of the qt terminal from version 5.
This shows
1) the points are symmetric (at least to my eye)
2) export to pdf does produce a color plot
If your setup is producing something else, please file a bug report on the
tracker with information about the system, particularly the qt version.
Ethan
> At first I thought it was so that you could tell apart different symbols
> more easily when points are on top of each other (e.g., like a “*” will
> hide “+” and “x” below it). But that is not the case since all of the
> symbols are asymmetric in the same way.
|
|
From: Elias A. <eli...@gm...> - 2015-02-09 18:51:57
|
On 02/09/2015 06:34 PM, Ethan A Merritt wrote: > On Monday, 09 February 2015 01:24:00 PM Elias Assmann wrote: >> I now managed to compile gnuplot 5 against Qt5 on my laptop (the second >> machine I referred to), and I do see the difference with and without >> antialiasing. > > Maybe I'm still not understanding fully what you mean by asymmetric. > Here is an enlargement of your attached screenshot qt_no-antialias.png. > To my eye the '+' and '*' symbols for point types 1 and 2 look > perfectly symmetric. Please look at ‘qt_antialias.png’ instead. You will see that the ‘+’s are symmetric, but the ‘x’s are not (in the +, x, and * markers). Elias |
|
From: Ethan M. <eam...@gm...> - 2015-02-09 20:15:35
|
Ah, sorry, so what I really misunderstood was your statement "I do see the difference with and without antialiasing". I thought you meant you saw the same asymmetry with and without antialiasing. So I take it we now agree that the problem is with qt's antialiasing. But I am mystified about the asymmetry in the x11 screenshot. I can't reproduce that. On Mon, Feb 9, 2015 at 10:51 AM, Elias Assmann <eli...@gm...> wrote: > On 02/09/2015 06:34 PM, Ethan A Merritt wrote: >> >> On Monday, 09 February 2015 01:24:00 PM Elias Assmann wrote: >>> >>> I now managed to compile gnuplot 5 against Qt5 on my laptop (the second >>> machine I referred to), and I do see the difference with and without >>> antialiasing. >> >> >> Maybe I'm still not understanding fully what you mean by asymmetric. >> Here is an enlargement of your attached screenshot qt_no-antialias.png. >> To my eye the '+' and '*' symbols for point types 1 and 2 look >> perfectly symmetric. > > > Please look at ‘qt_antialias.png’ instead. You will see that the ‘+’s are > symmetric, but the ‘x’s are not (in the +, x, and * markers). > > > Elias > |
|
From: Elias A. <eli...@gm...> - 2015-02-10 07:52:44
|
On 02/09/2015 09:15 PM, Ethan Merritt wrote: > Ah, sorry, so what I really misunderstood was your statement "I do see > the difference with and without antialiasing". I thought you meant > you saw the same asymmetry with and without antialiasing. Now that I read it again I have to agree that sentence was not very well written. > But I am mystified about the asymmetry in the x11 screenshot. I can't > reproduce that. I only see it on one of the two machines I tried, although the setup is more or less the same (same configure options, “same” OS). If there is anything you want me to try on that machine, just ask. On the other hand, for me this problem is actually not severe. It does not affect my ability to read the plots, and for production quality plots I will use the pdf or png terminals anyway. Elias |