From: David B. <stu...@gm...> - 2018-05-03 17:56:29
|
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 figures in this email were made using wxWidgets uiaction sample (UI action simulator) and the WxPLplotDemo code. In a nut shell I've made a splitter window in the main GUI and placed a copy of one of the plots there via a call to Plot() in the mainframe definition. The same plot is called for some menu action too. The issue I am seeing is that the plot in the main GUI does not have axis labels or tick mark values but the separate plot, activated by the menu does. Also, if I refresh the plot in the gui via a separate menu action the missing data returns. All calls are to the same function. I'm asking here first since it's the plot generated by PLplot that is inconsistency but it may be a wxwidgets issue. (it is clear that I was messing with other PLplot attributes too, like subplot, color, etc. This was not the cause of the difference as it is present regardless.) Modified code is attached (note that the "run simulation" menu item will cause a crash.), it is a quick hack job but I'm not seeing an obvious cause for the diff. This is the main frame GUI This is the separate plot generated in a new frame. --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus |