Re: [Plplot-general] plplot-wxwidgets-plotting

2018-06-15 Thread David Bergman
Phil, Thanks for your help. I just tried both suggestions and the use of wxSize(800, 800) forked but the suggestion below did not. I will try and forge ahead but I had ran into an issue with nested splitter windows not resizing correctly and the wxWidgets community suggested fix was to neve

Re: [Plplot-general] plplot-wxwidgets-plotting

2018-06-07 Thread David Bergman via Plplot-general
Phil, Thank you very much for the help.  I will try these edits and see how it goes.As for specifying the size of the window (as per your last email).  I've shied away from that as it screwed up the splitter windows construction I had.This suggestion looks like the best route, will let you kno

Re: [Plplot-general] plplot-wxwidgets-plotting

2018-06-07 Thread Phil Rosenberg
Hi David again Just to let you know that a way to get the automatic text sizing to work correctly without specifying an initial size for your window would be to wait until the window is displayed to call your Plot routine. You could do this by catching the first resize event or first paint event a

Re: [Plplot-general] plplot-wxwidgets-plotting

2018-06-07 Thread Phil Rosenberg
Hi David Sorry, I haven't replied - I've been away and off email for close to a month. Anyway - the problem is that when you create your wxPLplotwindow using the default constructor it gets a size of wxDefaultSize at initialisation. This is 20x20 pixels on my Windows system. PLPlot then uses this

Re: [Plplot-general] plplot-wxwidgets-plotting

2018-06-06 Thread David Bergman
Alan, Thanks. It seems that we're making some progress. I am working on Windows and I do not get the warning "Somehow we attempted to plot before the wxPLplotwindow was ready. The plot will not be drawn". I get a plot with some missing elements. I've not tried to build or run in Linux. Th

Re: [Plplot-general] plplot-wxwidgets-plotting

2018-06-06 Thread Alan W. Irwin
On 2018-05-25 15:37-0400 David Bergman wrote: Alan, I regret waiting this long to reply but have had a lot of work. To tell you the truth I am not sure what exactly caused the issue but I've deleted the "wxOVERRIDE" from the code, which was clearly a copy-paste from a wxWidgets example. I c

Re: [Plplot-general] plplot-wxwidgets-plotting

2018-05-04 Thread Alan W. Irwin
On 2018-05-04 13:55-0400 David Bergman wrote: Alan, Thanks for the quick response. You are correct, this was a rather convoluted piecemeal hack of several examples from both wxwidgets and plplot. Attached is a simplified version. Just to test that out, I locally copied that version on top

Re: [Plplot-general] plplot-wxwidgets-plotting

2018-05-04 Thread David Bergman
Alan, Thanks for the quick response. You are correct, this was a rather convoluted piecemeal hack of several examples from both wxwidgets and plplot. Attached is a simplified version. There is one, and only on, plot function, and a very simple widgets GUI with no buttons or menus. The issu

Re: [Plplot-general] plplot-wxwidgets-plotting

2018-05-03 Thread Alan W. Irwin
On 2018-05-03 13:56-0400 David Bergman wrote: P.S. I noticed just after (natch) I sent off my previous post that you had included source code in your post, but it is hard for me to evaluate whether you have simplified that example as much as possible. So here is what I would like you to do inste

Re: [Plplot-general] plplot-wxwidgets-plotting

2018-05-03 Thread Alan W. Irwin
On 2018-05-03 13:56-0400 David Bergman wrote: Dear all, I am using plplot 5.13.0 and wxwidgets 3.1.0 in a windows environment, VS 2017. I've attempted to merge the plplot wxwidgets example with more complex wxwidgets examples to generate plots in various frames and panels in a larger GUI for

[Plplot-general] plplot-wxwidgets-plotting

2018-05-03 Thread David Bergman
Dear all, I am using plplot 5.13.0 and wxwidgets 3.1.0 in a windows environment, VS 2017. I've attempted to merge the plplot wxwidgets example with more complex wxwidgets examples to generate plots in various frames and panels in a larger GUI format. The specific example that produced the fi