Re: [Plplot-devel] Linux OnCreate delay bug -- solution

2017-01-04 Thread Phil Rosenberg
Hi All Right I'm back with sensible access to all my systems and back into my usual routine. So, here goes On 28 December 2016 at 05:00, Pedro Vicente wrote: > One small caveat is that I think you can only instantiate the template with > a class that has this Create() > signature > > Create(wxW

Re: [Plplot-devel] Linux OnCreate delay bug -- solution

2017-01-04 Thread Phil Rosenberg
Just to add that I've just tested on my Ubuntu 16.04 system logging on remotely using Cygwin ssh and X11 server and n my work CentOS system logging on directly. Everything seems fine! Hopefully you will both get the same results Pedro and Alan. Phil On 4 January 2017 at 14:26, Phil Rosenberg wro

Re: [Plplot-devel] Using wxWidgets

2017-01-04 Thread Phil Rosenberg
Hello Laurent If you grab the latest version of PLPlot from the git repo then you should find that the API for wxWidgets is as it was and Pedro's problems are now hopefully also fixed. There should be no need to apply Pedro's patch. If you find that your existing code does not work for any reason

Re: [Plplot-devel] Linux OnCreate delay bug -- solution

2017-01-04 Thread Pedro Vicente
Hi Phil I got a good plot on CentOS, below output. I'll test other Linux later 12:40:53: Debug: wxPLplotwindow::wxPLplotwindow 12:40:53: Debug: wxPLplotwindow::wxPLplotwindow 12:40:53: Debug: frame->Create 12:40:53: Debug: Plot() Yielding 12:40:53: Debug: wxPLplotwindow::OnCreate 12:40:53: Debug

Re: [Plplot-devel] Linux OnCreate delay bug -- solution

2017-01-04 Thread Alan W. Irwin
On 2017-01-04 13:04-0500 Pedro Vicente wrote: > Hi Phil > > I got a good plot on CentOS, below output. > I'll test other Linux later > >> So what I >> would propose is that for this release we attempt to not add or remove >> anything from the API and just stick with an example that works with >>

Re: [Plplot-devel] legend and label using wxWidgets

2017-01-04 Thread Alan W. Irwin
On 2016-12-28 23:19+0100 Laurent Berger wrote: > wxwidgets commit 0bf38e1 x04 y axis label is good > (https://github.com/wxWidgets/wxWidgets/commit/0bf38e11a33005e289e30c8bc7c67563eae061be) > > wxwidgets commit 49000def x04 y axis label is false > (https://github.com/wxWidgets/wxWidgets/commit/4

Re: [Plplot-devel] Linux OnCreate delay bug -- solution

2017-01-04 Thread Pedro Vicente
Hi Alan I think your current CentOS test is equivalent to just building the test_wxPLplotDemo target? yes Please extend that test to building the test_c_wxwidgets target as well. I did make VERBOSE=1 test_c_wxwidgets >& out.txt & there were no plots, just black and grey windows that quick

Re: [Plplot-devel] Linux OnCreate delay bug -- solution

2017-01-04 Thread Alan W. Irwin
On 2017-01-04 16:21-0500 Pedro Vicente wrote: > I did [on CentOS] > make VERBOSE=1 test_c_wxwidgets >& out.txt & > > there were no plots, just black and grey windows that quickly showed and > disappeared > > output is attached As you can see for yourself there are no warnings or errors so that l

Re: [Plplot-devel] legend and label using wxWidgets

2017-01-04 Thread p.d.rosenberg
Hi Alan I agree it would be good to look at this pre release. It's on my to do list for asap. Sent from my Windows 10 phone From: Alan W. Irwin Sent: 04 January 2017 20:37 To: Phil Rosenberg; Pedro Vicente; Laurent Berger; PLplot development list Subject: Re: [Plplot-devel] legend and label usin

[Plplot-devel] A pre release buffer bug

2017-01-04 Thread p.d.rosenberg
Hi All, but mostly aimed at Alan I guess I found a bug today based on some of my code. I have some code that uses wxWidgets then I was attempting to use plreplot to write to a file. But I was getting just a black screen. After a first look I think the problem is the plclear calls are not being

Re: [Plplot-devel] Linux OnCreate delay bug -- solution

2017-01-04 Thread p.d.rosenberg
That looks promising 😊 To answer your questions Alan (sorry for top posting, but I'm on my phone) 1. Yes that is the expected output, although the window titles should be different. But actually it may be nicer to at least use 2 different curves. An easy change. What do you think? 2. Will do, p

Re: [Plplot-devel] Linux OnCreate delay bug -- solution

2017-01-04 Thread Pedro Vicente
>> Yes that is the expected output, although the window titles should be >> different. But actually it may be nicer to at least use 2 different curves. >> An easy change. What do you think? I don't have an opinion on the plot itself, but regarding the test_c_wxwidgets test, it would be a good i

Re: [Plplot-devel] A pre release buffer bug

2017-01-04 Thread Alan W. Irwin
On 2017-01-05 00:48- p.d.rosenb...@gmail.com wrote: > Hi All, but mostly aimed at Alan I guess > > I found a bug today based on some of my code. I have some code that uses wxWidgets then I was attempting to use plreplot to write to a file. But I was getting just a black screen. After a first

Re: [Plplot-devel] Linux OnCreate delay bug -- solution

2017-01-04 Thread Alan W. Irwin
On 2017-01-05 00:54- p.d.rosenb...@gmail.com wrote: > 1. Yes [two plots are] expected output, although the window titles should be different. But actually it may be nicer to at least use 2 different curves. An easy change. What do you think? Good idea. So, yes please! > 2. Will do [README.r

Re: [Plplot-devel] Linux OnCreate delay bug -- solution

2017-01-04 Thread Alan W. Irwin
On 2017-01-04 20:08-0500 Pedro Vicente wrote: >>> Yes that is the expected output, although the window titles should be >>> different. But actually it may be nicer to at least use 2 different curves. >>> An easy change. What do you think? > > I don't have an opinion on the plot itself, but regar