|
From: David B. <stu...@gm...> - 2018-05-04 17:56:14
|
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 issue is present, i.e. no tick mark values and no labels. I did not add any external frames, rather than show a difference I opted to show one thing in this example. The only real difference is that I am using a wxPanel to make the plot in the splitter window. I am fairly new to both PLplot and wxWidgets so I may be using these functions incorrectly (it is not my intent to unnecessarily spin people up for help but I have tried and am clearly missing something). Viable hypotheses are (1) I'm instantiating the Panel incorrectly, (2) invoking the plot incorrectly, (3) that plots and panels don't work like plots and frames do (and I'm missing some data), (4) there is a size issue and the text I expect to see is outside the limits of the Panel. As I stated before, in a more complex code base this issue goes away if I "re-plot" the same plot in the same window via an external button push. Would it help if the plot function was "owned" by the myApp? David On 5/3/2018 4:45 PM, Alan W. Irwin wrote: > 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 instead. Please give us the > simplest possible patch for examples/c++/wxPLplotDemo.cpp that > demonstrates the issue. Such a patch clearly demonstrates the minimal > changes required to show the issue. It also should allow our current > build and test system to build and test your (slight) modification of > examples/c++/wxPLplotDemo.cpp, and that would be a great convenience > for us when we are attempting to replicate the issue on our various > platforms. > > Alan > __________________________ > Alan W. Irwin > > Astronomical research affiliation with Department of Physics and > Astronomy, > University of Victoria (astrowww.phys.uvic.ca). > > Programming affiliations with the FreeEOS equation-of-state > implementation for stellar interiors (freeeos.sf.net); the Time > Ephemerides project (timeephem.sf.net); PLplot scientific plotting > software package (plplot.sf.net); the libLASi project > (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); > and the Linux Brochure Project (lbproject.sf.net). > __________________________ > > Linux-powered Science > __________________________ > --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |